Struct ChunkDatasetOptions
Defined in File chunk.h
Page Contents
Struct Documentation
-
struct ChunkDatasetOptions
Options to configure a
ChunkDataset
.Public Functions
-
inline ChunkDatasetOptions(size_t preloader_count, size_t batch_size, size_t cache_size = 2048, size_t cross_chunk_shuffle_count = 1)
-
inline auto preloader_count(const size_t &new_preloader_count) -> decltype(*this)
The number of worker thread to preload chunk data.
-
inline auto cache_size(const size_t &new_cache_size) -> decltype(*this)
The capacity of the queue for batch caching.
-
inline ChunkDatasetOptions(size_t preloader_count, size_t batch_size, size_t cache_size = 2048, size_t cross_chunk_shuffle_count = 1)