3 #include <torch/csrc/WindowsTorchApiMacro.h> 4 #include <torch/data/samplers/base.h> 5 #include <torch/types.h> 41 TORCH_API
size_t index()
const noexcept;
A Sampler is an object that yields an index with which to access a dataset.
A Sampler that returns indices sequentially.