NamedTensorProto.Builder

public static final class NamedTensorProto.Builder

 A pair of tensor name and tensor values.
 
Protobuf type tensorflow.NamedTensorProto

Public Methods

NamedTensorProto.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NamedTensorProto
NamedTensorProto
NamedTensorProto.Builder
NamedTensorProto.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
NamedTensorProto.Builder
clearName ()
 Name of the tensor.
NamedTensorProto.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
NamedTensorProto.Builder
clearTensor ()
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
NamedTensorProto.Builder
NamedTensorProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getName ()
 Name of the tensor.
com.google.protobuf.ByteString
getNameBytes ()
 Name of the tensor.
TensorProto
getTensor ()
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
TensorProto.Builder
getTensorBuilder ()
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
TensorProtoOrBuilder
getTensorOrBuilder ()
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
boolean
hasTensor ()
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
final boolean
NamedTensorProto.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NamedTensorProto.Builder
mergeFrom (com.google.protobuf.Message other)
NamedTensorProto.Builder
mergeTensor ( TensorProto value)
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
final NamedTensorProto.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
NamedTensorProto.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NamedTensorProto.Builder
setName (String value)
 Name of the tensor.
NamedTensorProto.Builder
setNameBytes (com.google.protobuf.ByteString value)
 Name of the tensor.
NamedTensorProto.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NamedTensorProto.Builder
setTensor ( TensorProto.Builder builderForValue)
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
NamedTensorProto.Builder
setTensor ( TensorProto value)
 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
final NamedTensorProto.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public NamedTensorProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public NamedTensorProto build ()

public NamedTensorProto buildPartial ()

public NamedTensorProto.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public NamedTensorProto.Builder clearName ()

 Name of the tensor.
 
string name = 1;

public NamedTensorProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public NamedTensorProto.Builder clearTensor ()

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public NamedTensorProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getName ()

 Name of the tensor.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 Name of the tensor.
 
string name = 1;

public TensorProto getTensor ()

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public TensorProto.Builder getTensorBuilder ()

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public TensorProtoOrBuilder getTensorOrBuilder ()

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public boolean hasTensor ()

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public final boolean isInitialized ()

public NamedTensorProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public NamedTensorProto.Builder mergeFrom (com.google.protobuf.Message other)

public NamedTensorProto.Builder mergeTensor ( TensorProto value)

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public final NamedTensorProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public NamedTensorProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public NamedTensorProto.Builder setName (String value)

 Name of the tensor.
 
string name = 1;

public NamedTensorProto.Builder setNameBytes (com.google.protobuf.ByteString value)

 Name of the tensor.
 
string name = 1;

public NamedTensorProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public NamedTensorProto.Builder setTensor ( TensorProto.Builder builderForValue)

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;

public NamedTensorProto.Builder setTensor ( TensorProto value)

 The client can populate a TensorProto using a tensorflow::Tensor`, or
 directly using the protobuf field accessors.
 The client specifies whether the returned tensor values should be
 filled tensor fields (float_val, int_val, etc.) or encoded in a
 compact form in tensor.tensor_content.
 
.tensorflow.TensorProto tensor = 2;