clase final estática pública TensorShapeProto.Dim
One dimension of the tensor.Protobuf tipo
tensorflow.TensorShapeProto.Dim
Clases anidadas
clase | TensorShapeProto.Dim.Builder | One dimension of the tensor. |
Constantes
En t | NAME_FIELD_NUMBER | |
En t | SIZE_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
estático TensorShapeProto.Dim | |
TensorShapeProto.Dim | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | getName () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
En t | |
largo | getSize () Size of the tensor in that dimension. |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
estático TensorShapeProto.Dim.Builder | newBuilder () |
estático TensorShapeProto.Dim.Builder | newBuilder (prototipo TensorShapeProto.Dim ) |
TensorShapeProto.Dim.Builder | |
estático TensorShapeProto.Dim | parseDelimitedFrom (entrada InputStream) |
estático TensorShapeProto.Dim | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático TensorShapeProto.Dim | parseFrom (datos ByteBuffer) |
estático TensorShapeProto.Dim | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático TensorShapeProto.Dim | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático TensorShapeProto.Dim | parseFrom (entrada com.google.protobuf.CodedInputStream) |
estático TensorShapeProto.Dim | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático TensorShapeProto.Dim | parseFrom (datos com.google.protobuf.ByteString) |
estático TensorShapeProto.Dim | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático TensorShapeProto.Dim | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
TensorShapeProto.Dim.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int NAME_FIELD_NUMBER
Valor constante: 2
public static final int SIZE_FIELD_NUMBER
Valor constante: 1
Métodos públicos
public boolean es igual a (Object obj)
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
Optional name of the tensor dimension.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
Optional name of the tensor dimension.
string name = 2;
público getParserForType ()
public int getSerializedSize ()
public long getSize ()
Size of the tensor in that dimension. This value must be >= -1, but values of -1 are reserved for "unknown" shapes (values of -1 mean "unknown" dimension). Certain wrappers that work with TensorShapeProto may fail at runtime when deserializing a TensorShapeProto containing a dim value of -1.
int64 size = 1;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static TensorShapeProto.Dim parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static TensorShapeProto.Dim parseFrom (ByteBuffer datos)
Lanza
InvalidProtocolBufferException |
---|
public static TensorShapeProto.Dim parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static TensorShapeProto.Dim parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático TensorShapeProto.Dim parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static TensorShapeProto.Dim parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático TensorShapeProto.Dim parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static TensorShapeProto.Dim parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static TensorShapeProto.Dim parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|