Class NDIndexAll

java.lang.Object
ai.djl.ndarray.index.dim.NDIndexAll
All Implemented Interfaces:
NDIndexElement

public class NDIndexAll extends Object implements NDIndexElement
An NDIndexElement to return all values in a particular dimension.
  • Constructor Details

    • NDIndexAll

      public NDIndexAll()
  • Method Details

    • getRank

      public int getRank()
      Returns the number of dimensions occupied by this index element.
      Specified by:
      getRank in interface NDIndexElement
      Returns:
      the number of dimensions occupied by this index element