Package org.tensorflow.framework
Interface TensorSliceProto.ExtentOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TensorSliceProto.Extent
,TensorSliceProto.Extent.Builder
- Enclosing class:
- TensorSliceProto
public static interface TensorSliceProto.ExtentOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TensorSliceProto.Extent.HasLengthCase
getHasLengthCase()
long
getLength()
int64 length = 2;
long
getStart()
Start index of the slice, starting at 0.boolean
hasLength()
int64 length = 2;
-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStart
long getStart()
Start index of the slice, starting at 0.
int64 start = 1;
- Returns:
- The start.
-
hasLength
boolean hasLength()
int64 length = 2;
- Returns:
- Whether the length field is set.
-
getLength
long getLength()
int64 length = 2;
- Returns:
- The length.
-
getHasLengthCase
TensorSliceProto.Extent.HasLengthCase getHasLengthCase()
-
-