classe final pública estática TensorSpecProto.Builder
A protobuf to represent tf.TensorSpec.
tensorflow.TensorSpecProto
tipo tensorflow.TensorSpecProto
Métodos Públicos
TensorSpecProto.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
TensorSpecProto | build () |
TensorSpecProto | buildPartial () |
TensorSpecProto.Builder | limpar () |
TensorSpecProto.Builder | clearDtype () .tensorflow.DataType dtype = 3; |
TensorSpecProto.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
TensorSpecProto.Builder | clearName () string name = 1; |
TensorSpecProto.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TensorSpecProto.Builder | clearShape () .tensorflow.TensorShapeProto shape = 2; |
TensorSpecProto.Builder | clone () |
TensorSpecProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Tipo de dados | getDtype () .tensorflow.DataType dtype = 3; |
int | getDtypeValue () .tensorflow.DataType dtype = 3; |
Fragmento | getName () string name = 1; |
com.google.protobuf.ByteString | getNameBytes () string name = 1; |
TensorShapeProto | getShape () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProto.Builder | getShapeBuilder () .tensorflow.TensorShapeProto shape = 2; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () .tensorflow.TensorShapeProto shape = 2; |
boleano | hasShape () .tensorflow.TensorShapeProto shape = 2; |
final booleano | |
TensorSpecProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorSpecProto.Builder | mergeFrom (com.google.protobuf.Message other) |
TensorSpecProto.Builder | |
TensorSpecProto.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
TensorSpecProto.Builder | |
TensorSpecProto.Builder | setDtypeValue (valor int) .tensorflow.DataType dtype = 3; |
TensorSpecProto.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
TensorSpecProto.Builder | setName (valor String) string name = 1; |
TensorSpecProto.Builder | setNameBytes (com.google.protobuf.ByteString value) string name = 1; |
TensorSpecProto.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
TensorSpecProto.Builder | |
TensorSpecProto.Builder | |
TensorSpecProto.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public TensorSpecProto.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getDtypeValue ()
.tensorflow.DataType dtype = 3;
public String getName ()
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
string name = 1;
public boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public final boolean isInitialized ()
public TensorSpecProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public TensorSpecProto.Builder mergeShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
public final TensorSpecProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorSpecProto.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public TensorSpecProto.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public TensorSpecProto.Builder setShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
public TensorSpecProto.Builder setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;