Package ai.djl.ndarray.index.dim
Class NDIndexNull
java.lang.Object
ai.djl.ndarray.index.dim.NDIndexNull
- All Implemented Interfaces:
NDIndexElement
An
NDIndexElement
to return all values in a particular dimension.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getRank()
Returns the number of dimensions occupied by this index element.
-
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 interfaceNDIndexElement
- Returns:
- the number of dimensions occupied by this index element
-