A Job
is either a BatchRequest
(new indices to fetch data at) or a QuitWorker
object, to indicate the worker should shut down.
More...
#include <base.h>
Public Member Functions | |
Job (QuitWorker q, size_t sqn) | |
Job (BatchRequest &&i, size_t sqn) | |
Public Member Functions inherited from torch::data::DataLoaderBase< Dataset, Batch, BatchRequest >::Sequenced | |
Sequenced (size_t sqn) | |
Data Fields | |
optional< QuitWorker > | quit |
optional< BatchRequest > | batch_request |
Data Fields inherited from torch::data::DataLoaderBase< Dataset, Batch, BatchRequest >::Sequenced | |
size_t | sequence_number |
A Job
is either a BatchRequest
(new indices to fetch data at) or a QuitWorker
object, to indicate the worker should shut down.