Shortcuts

Struct CustomBatchRequest

Inheritance Relationships

Derived Type

Struct Documentation

struct torch::data::samplers::CustomBatchRequest

A base class for custom index types.

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

Public Functions

~CustomBatchRequest() = default
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