deeplearning4j-core/src/main/java/org/deeplearning4j/datasets/iterator/AsyncDataSetIterator.java
/**
     *
     * Shut down the async data set iterator thread
     * This is not typically necessary if using a single AsyncDataSetIterator
     * (thread is a daemon thread and so shouldn't block the JVM from exiting)
     * Behaviour of next(), hasNext() etc methods after shutdown of async iterator is undefined
     */
Shut down the async data set iterator thread
This is not typically necessary if using a single AsyncDataSetIterator
(thread is a daemon thread and so shouldn't block the JVM from exiting)
Behaviour of next(), hasNext() etc methods after shutdown of async iterator is undefined
Shut down the async data set iterator thread This is not typically necessary if using a single AsyncDataSetIterator ( thread is a daemon thread and so shouldn ' t block the JVM from exiting ) Behaviour of next () hasNext () etc methods after shutdown of async iterator is undefined
public void shutdown() {
        if(thread.isAlive()) {
            runnable.killRunnable = true;
            thread.interrupt();
        }
    }
public void shutdown ( ) { if ( thread . isAlive ( ) ) { runnable . killRunnable = true ; thread . interrupt ( ) ; } }
Shut down the async data set iterator thread
 This is not typically necessary if using a single AsyncDataSetIterator
 (thread is a daemon thread and so shouldn't block the JVM from exiting)
 Behaviour of next(), hasNext() etc methods after shutdown of async iterator is undefined
Shut down the async data set iterator thread This is not typically necessary if using a single AsyncDataSetIterator ( thread is a daemon thread and so shouldn ' t block the JVM from exiting ) Behaviour of next () hasNext () etc methods after shutdown of async iterator is undefined