Shortcuts

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(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

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources