public class JointParallelDataSetIterator extends BaseParallelDataSetIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
JointParallelDataSetIterator.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> |
asyncIterators |
protected int |
bufferSizePerDevice |
protected boolean |
enforceSingleDevice |
allDepleted, counter, inequalityHandling, numProducers, producerAffinity, resetTracker, states| Constructor and Description |
|---|
JointParallelDataSetIterator(List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> iterators,
boolean singleDeviceMode,
int bufferSize,
org.nd4j.linalg.dataset.api.iterator.enums.InequalityHandling inequalityHandling) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNextFor(int consumer) |
protected void |
initializeIterators(List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> originals) |
org.nd4j.linalg.dataset.DataSet |
nextFor(int consumer) |
protected void |
reset(int consumer) |
asyncSupported, attachThread, batch, cursor, getCurrentProducerIndex, getLabels, getPreProcessor, hasNext, hasNextFor, inputColumns, next, next, nextFor, numExamples, remove, reset, resetSupported, setPreProcessor, stepForward, totalExamples, totalOutcomesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> asyncIterators
protected boolean enforceSingleDevice
protected int bufferSizePerDevice
public JointParallelDataSetIterator(@NonNull
List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> iterators,
boolean singleDeviceMode,
int bufferSize,
@NonNull
org.nd4j.linalg.dataset.api.iterator.enums.InequalityHandling inequalityHandling)
protected void initializeIterators(List<org.nd4j.linalg.dataset.api.iterator.DataSetIterator> originals)
public boolean hasNextFor(int consumer)
hasNextFor in interface org.nd4j.linalg.dataset.api.iterator.ParallelDataSetIteratorhasNextFor in class BaseParallelDataSetIteratorpublic org.nd4j.linalg.dataset.DataSet nextFor(int consumer)
nextFor in interface org.nd4j.linalg.dataset.api.iterator.ParallelDataSetIteratornextFor in class BaseParallelDataSetIteratorprotected void reset(int consumer)
reset in class BaseParallelDataSetIteratorCopyright © 2017. All rights reserved.