Package biopb.tensor
Interface SliceHintOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SliceHint,SliceHint.Builder
public interface SliceHintOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetStart(int index) Start indices (per dimension)intStart indices (per dimension)Start indices (per dimension)longgetStop(int index) Stop indices (exclusive, per dimension)intStop indices (exclusive, per dimension)Stop indices (exclusive, per dimension)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
-
getStartList
Start indices (per dimension)
repeated int64 start = 1;- Returns:
- A list containing the start.
-
getStartCount
int getStartCount()Start indices (per dimension)
repeated int64 start = 1;- Returns:
- The count of start.
-
getStart
long getStart(int index) Start indices (per dimension)
repeated int64 start = 1;- Parameters:
index- The index of the element to return.- Returns:
- The start at the given index.
-
getStopList
Stop indices (exclusive, per dimension)
repeated int64 stop = 2;- Returns:
- A list containing the stop.
-
getStopCount
int getStopCount()Stop indices (exclusive, per dimension)
repeated int64 stop = 2;- Returns:
- The count of stop.
-
getStop
long getStop(int index) Stop indices (exclusive, per dimension)
repeated int64 stop = 2;- Parameters:
index- The index of the element to return.- Returns:
- The stop at the given index.
-