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