Package org.nd4j.linalg.dataset
Class AsyncMultiDataSetIterator.AsyncPrefetchThread
- java.lang.Object
-
- java.lang.Thread
-
- org.nd4j.linalg.dataset.AsyncMultiDataSetIterator.AsyncPrefetchThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- AsyncMultiDataSetIterator
protected class AsyncMultiDataSetIterator.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<MultiDataSet> queue, @NonNull MultiDataSetIterator iterator, @NonNull MultiDataSet terminator, 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<MultiDataSet> queue, @NonNull @NonNull MultiDataSetIterator iterator, @NonNull @NonNull MultiDataSet terminator, int deviceId)
-
-