Package ai.djl.ndarray.index.dim
Class NDIndexNull
- java.lang.Object
-
- ai.djl.ndarray.index.dim.NDIndexNull
-
- All Implemented Interfaces:
NDIndexElement
public class NDIndexNull extends java.lang.Object implements NDIndexElement
AnNDIndexElementto return all values in a particular dimension.
-
-
Constructor Summary
Constructors Constructor Description NDIndexNull()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRank()Returns the number of dimensions occupied by this index element.
-
-
-
Method Detail
-
getRank
public int getRank()
Returns the number of dimensions occupied by this index element.- Specified by:
getRankin interfaceNDIndexElement- Returns:
- the number of dimensions occupied by this index element
-
-