TensorDescription.Builder

public static final class TensorDescription.Builder

Protobuf type tensorflow.TensorDescription

Public Methods

TensorDescription.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorDescription
TensorDescription
TensorDescription.Builder
TensorDescription.Builder
clearAllocationDescription ()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
TensorDescription.Builder
clearDtype ()
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
TensorDescription.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
TensorDescription.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
TensorDescription.Builder
clearShape ()
 Shape of the tensor.
TensorDescription.Builder
AllocationDescription
getAllocationDescription ()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
AllocationDescription.Builder
getAllocationDescriptionBuilder ()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
AllocationDescriptionOrBuilder
getAllocationDescriptionOrBuilder ()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
TensorDescription
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
DataType
getDtype ()
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
int
getDtypeValue ()
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
TensorShapeProto
getShape ()
 Shape of the tensor.
TensorShapeProto.Builder
getShapeBuilder ()
 Shape of the tensor.
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 Shape of the tensor.
boolean
hasAllocationDescription ()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
boolean
hasShape ()
 Shape of the tensor.
final boolean
TensorDescription.Builder
mergeAllocationDescription ( AllocationDescription value)
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
TensorDescription.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TensorDescription.Builder
mergeFrom (com.google.protobuf.Message other)
TensorDescription.Builder
mergeShape ( TensorShapeProto value)
 Shape of the tensor.
final TensorDescription.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
TensorDescription.Builder
setAllocationDescription ( AllocationDescription value)
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
TensorDescription.Builder
setAllocationDescription ( AllocationDescription.Builder builderForValue)
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
TensorDescription.Builder
setDtype ( DataType value)
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
TensorDescription.Builder
setDtypeValue (int value)
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
TensorDescription.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorDescription.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TensorDescription.Builder
setShape ( TensorShapeProto value)
 Shape of the tensor.
TensorDescription.Builder
setShape ( TensorShapeProto.Builder builderForValue)
 Shape of the tensor.
final TensorDescription.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

public TensorDescription build ()

public TensorDescription buildPartial ()

public TensorDescription.Builder clearAllocationDescription ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public TensorDescription.Builder clearDtype ()

 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;

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

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

public TensorDescription.Builder clearShape ()

 Shape of the tensor.
 
.tensorflow.TensorShapeProto shape = 2;

public AllocationDescription getAllocationDescription ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public AllocationDescription.Builder getAllocationDescriptionBuilder ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public TensorDescription getDefaultInstanceForType ()

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

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

public DataType getDtype ()

 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;

public TensorShapeProto getShape ()

 Shape of the tensor.
 
.tensorflow.TensorShapeProto shape = 2;