Package org.nd4j.linalg.indexing
Class SpecifiedIndex.SpecifiedIndexesGenerator
- java.lang.Object
-
- org.nd4j.linalg.indexing.SpecifiedIndex.SpecifiedIndexesGenerator
-
- All Implemented Interfaces:
net.ericaro.neoitertools.Generator<net.ericaro.neoitertools.Generator<List<Long>>>
- Enclosing class:
- SpecifiedIndex
public static class SpecifiedIndex.SpecifiedIndexesGenerator extends Object implements net.ericaro.neoitertools.Generator<net.ericaro.neoitertools.Generator<List<Long>>>
A generator forSpecifiedIndex
forItertools.product(Generator)
to iterate over an array given a set of iterators
-
-
Constructor Summary
Constructors Constructor Description SpecifiedIndexesGenerator(INDArrayIndex[] indexes)
The indexes to generate from
-
-
-
Constructor Detail
-
SpecifiedIndexesGenerator
public SpecifiedIndexesGenerator(INDArrayIndex[] indexes)
The indexes to generate from- Parameters:
indexes
- the indexes to generate from
-
-
Method Detail
-
next
public net.ericaro.neoitertools.Generator<List<Long>> next() throws NoSuchElementException
- Specified by:
next
in interfacenet.ericaro.neoitertools.Generator<net.ericaro.neoitertools.Generator<List<Long>>>
- Throws:
NoSuchElementException
-
-