Package org.nd4j.linalg.api.iter
Class NdIndexIterator
- java.lang.Object
-
- org.nd4j.linalg.api.iter.NdIndexIterator
-
-
Constructor Summary
Constructors Constructor Description NdIndexIterator(char order, boolean cache, long... shape)
Pass in the shape to iterate over.NdIndexIterator(char order, int... shape)
Pass in the shape to iterate overNdIndexIterator(char order, long... shape)
NdIndexIterator(int... shape)
Pass in the shape to iterate over.NdIndexIterator(long... shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
long[]
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
NdIndexIterator
public NdIndexIterator(int... shape)
Pass in the shape to iterate over. Defaults to c ordering- Parameters:
shape
- the shape to iterate over
-
NdIndexIterator
public NdIndexIterator(long... shape)
-
NdIndexIterator
public NdIndexIterator(char order, boolean cache, long... shape)
Pass in the shape to iterate over. Defaults to c ordering- Parameters:
shape
- the shape to iterate over
-
NdIndexIterator
public NdIndexIterator(char order, int... shape)
Pass in the shape to iterate over- Parameters:
shape
- the shape to iterate over
-
NdIndexIterator
public NdIndexIterator(char order, long... shape)
-
-