|
pulsatrix
|
Index-order abstraction for DataLoader – SequentialSampler, ShuffleSampler. More...
#include <cstdint>#include <optional>#include <random>#include <vector>

Go to the source code of this file.
Classes | |
| class | pulsatrix::Sampler |
| Produces the order in which a DataLoader visits a Dataset's indices for one epoch. More... | |
| class | pulsatrix::SequentialSampler |
| Visits indices [0, dataset_size) in ascending order. More... | |
| class | pulsatrix::ShuffleSampler |
| Visits indices [0, dataset_size) in a seeded pseudo-random permutation – reproducible across runs given the same seed (std::mt19937), re-shuffled fresh each reset() call (a new epoch is a new permutation, not the same one repeated). More... | |
Namespaces | |
| namespace | pulsatrix |
Index-order abstraction for DataLoader – SequentialSampler, ShuffleSampler.