Shortcuts

Struct DataLoaderBase::Result

Nested Relationships

This struct is a nested type of Template Class DataLoaderBase.

Inheritance Relationships

Base Type

Struct Documentation

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

The finished result of a job.

Public Functions

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

Public Members

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