Shortcuts

Struct DataLoaderBase::Sequenced

Nested Relationships

This struct is a nested type of Template Class DataLoaderBase.

Inheritance Relationships

Derived Types

Struct Documentation

struct torch::data::DataLoaderBase::Sequenced

Simple mix-in to give something a sequence number.

Subclassed by torch::data::DataLoaderBase< Dataset, Batch, BatchRequest >::Job, torch::data::DataLoaderBase< Dataset, Batch, BatchRequest >::Result

Public Functions

Sequenced() = default
Sequenced(size_t sqn)

Public Members

size_t sequence_number

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