Package org.tensorflow.framework
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
Modifier and Type Method Description DataTypegetDtype().tensorflow.DataType dtype = 1;intgetDtypeValue().tensorflow.DataType dtype = 1;TensorShapeProtogetShape().tensorflow.TensorShapeProto shape = 2;TensorShapeProtoOrBuildergetShapeOrBuilder().tensorflow.TensorShapeProto shape = 2;booleanhasShape().tensorflow.TensorShapeProto shape = 2;Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDtypeValue
int getDtypeValue().tensorflow.DataType dtype = 1;- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype().tensorflow.DataType dtype = 1;- Returns:
- The dtype.
-
hasShape
boolean hasShape().tensorflow.TensorShapeProto shape = 2;- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape().tensorflow.TensorShapeProto shape = 2;- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder().tensorflow.TensorShapeProto shape = 2;
-