Struct DataLoaderBase::Job#
Defined in File base.h
Nested Relationships#
This struct is a nested type of Template Class DataLoaderBase.
Inheritance Relationships#
Base Type#
public torch::data::DataLoaderBase< Dataset, Batch, BatchRequest >::Sequenced
(Struct DataLoaderBase::Sequenced)
Struct Documentation#
-
struct Job : public torch::data::DataLoaderBase<Dataset, Batch, BatchRequest>::Sequenced#
A
Job
is either aBatchRequest
(new indices to fetch data at) or aQuitWorker
object, to indicate the worker should shut down.Public Functions
-
Job() = default#
-
inline Job(QuitWorker q, size_t sqn)#
-
inline Job(BatchRequest &&i, size_t sqn)#
-
Job() = default#