Options to configure a ChunkDataset
.
More...
#include <chunk.h>
Public Member Functions | |
ChunkDatasetOptions (size_t preloader_count, size_t batch_size, size_t cache_size=2048) | |
TORCH_ARG (size_t, preloader_count) | |
The number of worker thread to preload chunk data. | |
TORCH_ARG (size_t, batch_size) | |
The size of each batch. | |
TORCH_ARG (size_t, cache_size) | |
Options to configure a ChunkDataset
.