Package tensorflow
Interface Struct.TensorSpecProtoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Struct.TensorSpecProto,Struct.TensorSpecProto.Builder
- Enclosing class:
Struct
public static interface Struct.TensorSpecProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDtype().tensorflow.DataType dtype = 3;int.tensorflow.DataType dtype = 3;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;getShape().tensorflow.TensorShapeProto shape = 2;.tensorflow.TensorShapeProto shape = 2;booleanhasShape().tensorflow.TensorShapeProto shape = 2;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1;- Returns:
- The bytes for name.
-
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; -
getDtypeValue
int getDtypeValue().tensorflow.DataType dtype = 3;- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype().tensorflow.DataType dtype = 3;- Returns:
- The dtype.
-