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