classe final pública estática TensorShapeProto.Dim.Builder
One dimension of the tensor.
tensorflow.TensorShapeProto.Dim
type tensorflow.TensorShapeProto.Dim
Métodos Públicos
TensorShapeProto.Dim.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
TensorShapeProto.Dim | build () |
TensorShapeProto.Dim | buildPartial () |
TensorShapeProto.Dim.Builder | limpar () |
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 | clone () |
TensorShapeProto.Dim | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getName () Optional name of the tensor dimension. |
com.google.protobuf.ByteString | getNameBytes () Optional name of the tensor dimension. |
longo | getSize () Size of the tensor in that dimension. |
final booleano | |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorShapeProto.Dim.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorShapeProto.Dim.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorShapeProto.Dim.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
TensorShapeProto.Dim.Builder | setName (valor String) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setNameBytes (com.google.protobuf.ByteString value) Optional name of the tensor dimension. |
TensorShapeProto.Dim.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
TensorShapeProto.Dim.Builder | setSize (valor longo) Size of the tensor in that dimension. |
TensorShapeProto.Dim.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public TensorShapeProto.Dim.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;
public static 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 (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public final TensorShapeProto.Dim.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorShapeProto.Dim.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
pública TensorShapeProto.Dim.Builder setName (String value)
Optional name of the tensor dimension.
string name = 2;
public TensorShapeProto.Dim.Builder setNameBytes (valor 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 do objeto)
public TensorShapeProto.Dim.Builder setSize (valor longo)
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;