Struct CustomBatchRequest¶
Defined in File custom_batch_request.h
Page Contents
Inheritance Relationships¶
Derived Type¶
public torch::data::samplers::BatchSize
(Struct BatchSize)
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.
-
CustomBatchRequest() = default¶