public static final class
TensorDescription.Builder
Protobuf type tensorflow.TensorDescription
Public Methods
TensorDescription.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
TensorDescription |
build()
|
TensorDescription | |
TensorDescription.Builder |
clear()
|
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 |
clone()
|
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 | |
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 | |
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 | |
TensorDescription.Builder | |
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.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 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getDtypeValue ()
Data type of tensor elements
.tensorflow.DataType dtype = 1;
public TensorShapeProto.Builder getShapeBuilder ()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProtoOrBuilder getShapeOrBuilder ()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public boolean hasAllocationDescription ()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public boolean hasShape ()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public final boolean isInitialized ()
public TensorDescription.Builder mergeAllocationDescription (AllocationDescription value)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public TensorDescription.Builder mergeShape (TensorShapeProto value)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public final TensorDescription.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public TensorDescription.Builder setAllocationDescription (AllocationDescription value)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder setAllocationDescription (AllocationDescription.Builder builderForValue)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder setDtype (DataType value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;
public TensorDescription.Builder setDtypeValue (int value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;
public TensorDescription.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public TensorDescription.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public TensorDescription.Builder setShape (TensorShapeProto value)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorDescription.Builder setShape (TensorShapeProto.Builder builderForValue)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;