Package org.platanios.tensorflow.proto
Interface TensorDescriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorDescription
,TensorDescription.Builder
public interface TensorDescriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AllocationDescription
getAllocationDescription()
Information about the size and allocator used for the dataAllocationDescriptionOrBuilder
getAllocationDescriptionOrBuilder()
Information about the size and allocator used for the dataDataType
getDtype()
Data type of tensor elementsint
getDtypeValue()
Data type of tensor elementsTensorShapeProto
getShape()
Shape of the tensor.TensorShapeProtoOrBuilder
getShapeOrBuilder()
Shape of the tensor.boolean
hasAllocationDescription()
Information about the size and allocator used for the databoolean
hasShape()
Shape of the tensor.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDtypeValue
int getDtypeValue()
Data type of tensor elements
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype()
Data type of tensor elements
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Returns:
- The dtype.
-
hasShape
boolean hasShape()
Shape of the tensor.
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape()
Shape of the tensor.
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder()
Shape of the tensor.
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
hasAllocationDescription
boolean hasAllocationDescription()
Information about the size and allocator used for the data
.org.platanios.tensorflow.proto.AllocationDescription allocation_description = 4;
- Returns:
- Whether the allocationDescription field is set.
-
getAllocationDescription
AllocationDescription getAllocationDescription()
Information about the size and allocator used for the data
.org.platanios.tensorflow.proto.AllocationDescription allocation_description = 4;
- Returns:
- The allocationDescription.
-
getAllocationDescriptionOrBuilder
AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder()
Information about the size and allocator used for the data
.org.platanios.tensorflow.proto.AllocationDescription allocation_description = 4;
-
-