Package org.tensorflow.metadata.v0
Interface FixedShape.DimOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FixedShape.Dim,FixedShape.Dim.Builder
- Enclosing class:
- FixedShape
public static interface FixedShape.DimOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Optional name of the tensor dimension.com.google.protobuf.ByteStringgetNameBytes()Optional name of the tensor dimension.longgetSize()optional int64 size = 1;booleanhasName()Optional name of the tensor dimension.booleanhasSize()optional int64 size = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSize
boolean hasSize()
optional int64 size = 1;- Returns:
- Whether the size field is set.
-
getSize
long getSize()
optional int64 size = 1;- Returns:
- The size.
-
hasName
boolean hasName()
Optional name of the tensor dimension.
optional string name = 2;- Returns:
- Whether the name field is set.
-
getName
String getName()
Optional name of the tensor dimension.
optional string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Optional name of the tensor dimension.
optional string name = 2;- Returns:
- The bytes for name.
-
-