tenzr::data::DataLoaderOptions¶
Configuration for a DataLoader.
#include <dataloader.h>
Public Attributes¶
| Name | |
|---|---|
| size_t | batch_size |
| bool | shuffle Reshuffle the index order each pass. |
| std::optional< uint64_t > | seed Optional PRNG seed for shuffling. |
| size_t | num_workers |
| bool | drop_last |
| bool | pin_memory |
| size_t | prefetch_factor |
Public Attributes Documentation¶
variable batch_size¶
variable shuffle¶
Reshuffle the index order each pass.
variable seed¶
Optional PRNG seed for shuffling.