Package org.nd4j.linalg.dataset
Class AsyncDataSetIterator.AsyncPrefetchThread
- java.lang.Object
-
- java.lang.Thread
-
- org.nd4j.linalg.dataset.AsyncDataSetIterator.AsyncPrefetchThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- AsyncDataSetIterator
protected class AsyncDataSetIterator.AsyncPrefetchThread extends Thread implements Runnable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AsyncPrefetchThread(@NonNull BlockingQueue<DataSet> queue, @NonNull DataSetIterator iterator, @NonNull DataSet terminator, MemoryWorkspace workspace, int deviceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
shutdown()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
AsyncPrefetchThread
protected AsyncPrefetchThread(@NonNull @NonNull BlockingQueue<DataSet> queue, @NonNull @NonNull DataSetIterator iterator, @NonNull @NonNull DataSet terminator, MemoryWorkspace workspace, int deviceId)
-
-