Package org.platanios.tensorflow.proto
Interface ResourceHandleProto.DtypeAndShapeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceHandleProto.DtypeAndShape
,ResourceHandleProto.DtypeAndShape.Builder
- Enclosing class:
- ResourceHandleProto
public static interface ResourceHandleProto.DtypeAndShapeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataType
getDtype()
.org.platanios.tensorflow.proto.DataType dtype = 1;
int
getDtypeValue()
.org.platanios.tensorflow.proto.DataType dtype = 1;
TensorShapeProto
getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
boolean
hasShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
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()
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype()
.org.platanios.tensorflow.proto.DataType dtype = 1;
- Returns:
- The dtype.
-
hasShape
boolean hasShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 2;
-
-