classe finale statique publique TensorShapeProto.Dim.Builder
One dimension of the tensor.Tensorflow de type
tensorflow.TensorShapeProto.Dim
Méthodes publiques
TensorShapeProto.Dim.Builder | addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
TensorShapeProto.Dim | construire () |
TensorShapeProto.Dim | buildPartial () |
TensorShapeProto.Dim.Builder | clair () |
TensorShapeProto.Dim.Builder | clearField (champ com.google.protobuf.Descriptors.FieldDescriptor) |
TensorShapeProto.Dim.Builder | nom clair () Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Dim.Builder | clairTaille () Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder | cloner () |
TensorShapeProto.Dim | |
final statique com.google.protobuf.Descriptors.Descriptor | |
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. |
long | obtenirTaille () Size of the tensor in that dimension. |
booléen final | |
TensorShapeProto.Dim.Builder | mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.Message autre) |
TensorShapeProto.Dim.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
TensorShapeProto.Dim.Builder | setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet) |
TensorShapeProto.Dim.Builder | setName (valeur de chaîne) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setNameBytes (valeur com.google.protobuf.ByteString) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet) |
TensorShapeProto.Dim.Builder | setSize (valeur longue) Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields) |
Méthodes héritées
Méthodes publiques
public TensorShapeProto.Dim.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public TensorShapeProto.Dim.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
public TensorShapeProto.Dim.Builder clearName ()
nom de chaîne
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public TensorShapeProto.Dim.Builder clearSize ()
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 statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 booléen isInitialized ()
public TensorShapeProto.Dim.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public final TensorShapeProto.Dim.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorShapeProto.Dim.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
public TensorShapeProto.Dim.Builder setName (valeur de chaîne)
nom de chaîne
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder setNameBytes (valeur com.google.protobuf.ByteString)
nom de chaîne
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
public TensorShapeProto.Dim.Builder setSize (valeur longue)
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;