3 #include <torch/csrc/WindowsTorchApiMacro.h> 4 #include <torch/types.h> 22 template <
typename BatchRequest = std::vector<
size_t>>
25 using BatchRequestType = BatchRequest;
A Sampler is an object that yields an index with which to access a dataset.