classe finale statique publique TensorShapeProto.Dim
One dimension of the tensor.Tensorflow de type
tensorflow.TensorShapeProto.Dim
Classes imbriquées
classe | TensorShapeProto.Dim.Builder | One dimension of the tensor. |
Constantes
int | NAME_FIELD_NUMBER | |
int | SIZE_FIELD_NUMBER |
Méthodes publiques
booléen | est égal (Obj objet) |
TensorShapeProto.Dim statique | |
TensorShapeProto.Dim | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Chaîne | obtenirNom () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
int | |
long | obtenirTaille () Size of the tensor in that dimension. |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
TensorShapeProto.Dim.Builder statique | |
TensorShapeProto.Dim.Builder statique | newBuilder (prototype TensorShapeProto.Dim ) |
TensorShapeProto.Dim.Builder | |
TensorShapeProto.Dim statique | parseDelimitedFrom (entrée InputStream) |
TensorShapeProto.Dim statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim statique | parseFrom (données ByteBuffer) |
TensorShapeProto.Dim statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
TensorShapeProto.Dim statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim statique | parseFrom (données com.google.protobuf.ByteString) |
TensorShapeProto.Dim statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
TensorShapeProto.Dim.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 2
public statique final entier SIZE_FIELD_NUMBER
Valeur constante : 1
Méthodes publiques
public booléen égal (Objet obj)
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique getName ()
nom de chaîne
Optional name of the tensor dimension.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
nom de chaîne
Optional name of the tensor dimension.
string name = 2;
publique 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 ()
code de hachage int public ()
public final booléen isInitialized ()
public static TensorShapeProto.Dim parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique TensorShapeProto.Dim parseFrom (données ByteBuffer)
Jetés
InvalidProtocolBufferException |
---|
public statique TensorShapeProto.Dim parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static TensorShapeProto.Dim parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TensorShapeProto.Dim parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique TensorShapeProto.Dim parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique TensorShapeProto.Dim parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static TensorShapeProto.Dim parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique TensorShapeProto.Dim parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|