Shortcuts

Struct CustomBatchRequest

Inheritance Relationships

Derived Type

Struct Documentation

struct CustomBatchRequest

A base class for custom index types.

Subclassed by torch::data::samplers::BatchSize

Public Functions

CustomBatchRequest() = default
CustomBatchRequest(const CustomBatchRequest&) = default
CustomBatchRequest(CustomBatchRequest&&) noexcept = default
virtual ~CustomBatchRequest() = default
virtual size_t size() const = 0

The number of elements accessed by this index.

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