Rate this Page

Struct DataLoaderBase::Result#

Nested Relationships#

This struct is a nested type of Template Class DataLoaderBase.

Inheritance Relationships#

Base Type#

Struct Documentation#

struct Result : public torch::data::DataLoaderBase<Dataset, Batch, BatchRequest>::Sequenced#

The finished result of a job.

Public Functions

Result() = default#
inline Result(std::optional<Batch> &&b, size_t sqn)#
inline Result(std::exception_ptr exception, size_t sqn)#

Public Members

std::optional<Batch> batch#
std::exception_ptr exception#