clase final estática pública TensorShapeProto.Dim.Builder
One dimension of the tensor.Protobuf tipo
tensorflow.TensorShapeProto.Dim
Métodos públicos
TensorShapeProto.Dim.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
TensorShapeProto.Dim | construir () |
TensorShapeProto.Dim | buildPartial () |
TensorShapeProto.Dim.Builder | claro () |
TensorShapeProto.Dim.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
TensorShapeProto.Dim.Builder | clearName () Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorShapeProto.Dim.Builder | clearSize () Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder | clonar () |
TensorShapeProto.Dim | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Cuerda | getName () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
largo | getSize () Size of the tensor in that dimension. |
booleano final | |
TensorShapeProto.Dim.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.Message otro) |
final TensorShapeProto.Dim.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorShapeProto.Dim.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
TensorShapeProto.Dim.Builder | setName (valor de cadena) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setNameBytes (valor de com.google.protobuf.ByteString) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
TensorShapeProto.Dim.Builder | setSize (valor largo) Size of the tensor in that dimension. |
final TensorShapeProto.Dim.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public TensorShapeProto.Dim.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public TensorShapeProto.Dim.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
public TensorShapeProto.Dim.Builder clearName ()
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;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
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 boolean isInitialized ()
public TensorShapeProto.Dim.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public final TensorShapeProto.Dim.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorShapeProto.Dim.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public TensorShapeProto.Dim.Builder setName (valor de cadena)
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder setNameBytes (valor de com.google.protobuf.ByteString)
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public TensorShapeProto.Dim.Builder setSize (valor largo)
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;