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 Type
    Method
    Description
    long
    getStart(int index)
    Start indices (per dimension)
    int
    Start indices (per dimension)
    Start indices (per dimension)
    long
    getStop(int index)
    Stop indices (exclusive, per dimension)
    int
    Stop indices (exclusive, per dimension)
    Stop indices (exclusive, per dimension)

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getStartList

      List<Long> 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

      List<Long> 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.