Class NDIndexNull

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

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

    • NDIndexNull

      public NDIndexNull()
  • 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