Class AsyncDataSetIterator
- java.lang.Object
-
- org.nd4j.linalg.dataset.AsyncDataSetIterator
-
- org.deeplearning4j.datasets.iterator.AsyncDataSetIterator
-
- All Implemented Interfaces:
Serializable,Iterator<DataSet>,DataSetIterator
@Deprecated public class AsyncDataSetIterator extends AsyncDataSetIterator
Deprecated.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nd4j.linalg.dataset.AsyncDataSetIterator
AsyncDataSetIterator.AsyncPrefetchThread
-
-
Field Summary
-
Fields inherited from class org.nd4j.linalg.dataset.AsyncDataSetIterator
backedIterator, buffer, callback, deviceId, hasDepleted, nextElement, prefetchSize, shouldWork, terminator, thread, throwable, useWorkspace, workspaceId
-
-
Constructor Summary
Constructors Constructor Description AsyncDataSetIterator(DataSetIterator baseIterator)Deprecated.Create an Async iterator with the default queue size of 8AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize)Deprecated.AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace)Deprecated.AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, Integer deviceId)Deprecated.AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, DataSetCallback callback)Deprecated.AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue)Deprecated.Create an Async iterator with the default queue size of 8AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace)Deprecated.AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback)Deprecated.AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback, Integer deviceId)Deprecated.
-
Method Summary
-
Methods inherited from class org.nd4j.linalg.dataset.AsyncDataSetIterator
asyncSupported, batch, externalCall, getLabels, getPreProcessor, hasNext, inputColumns, next, next, remove, reset, resetSupported, setPreProcessor, shutdown, totalOutcomes
-
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
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator baseIterator)
Deprecated.Create an Async iterator with the default queue size of 8- Parameters:
baseIterator- Underlying iterator to wrap and fetch asynchronously from
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue)
Deprecated.Create an Async iterator with the default queue size of 8- Parameters:
iterator- Underlying iterator to wrap and fetch asynchronously fromqueue- Queue size - number of iterators to
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, Integer deviceId)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator baseIterator, int queueSize, boolean useWorkspace, DataSetCallback callback)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback)
Deprecated.
-
AsyncDataSetIterator
public AsyncDataSetIterator(DataSetIterator iterator, int queueSize, BlockingQueue<DataSet> queue, boolean useWorkspace, DataSetCallback callback, Integer deviceId)
Deprecated.
-
-