public class IteratorMultiDataSetIterator
extends java.lang.Object
implements org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
Constructor and Description |
---|
IteratorMultiDataSetIterator(java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet> iterator,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncSupported() |
boolean |
hasNext() |
org.nd4j.linalg.dataset.api.MultiDataSet |
next() |
org.nd4j.linalg.dataset.api.MultiDataSet |
next(int num) |
void |
remove() |
void |
reset() |
boolean |
resetSupported() |
void |
setPreProcessor(org.nd4j.linalg.dataset.api.MultiDataSetPreProcessor preProcessor) |
public IteratorMultiDataSetIterator(java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet> iterator, int batchSize)
public boolean hasNext()
hasNext
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>
public org.nd4j.linalg.dataset.api.MultiDataSet next()
next
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>
public org.nd4j.linalg.dataset.api.MultiDataSet next(int num)
next
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public boolean resetSupported()
resetSupported
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public boolean asyncSupported()
asyncSupported
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public void reset()
reset
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public void setPreProcessor(org.nd4j.linalg.dataset.api.MultiDataSetPreProcessor preProcessor)
setPreProcessor
in interface org.nd4j.linalg.dataset.api.iterator.MultiDataSetIterator
public void remove()
remove
in interface java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>