ParallelBatchLoaderConfig

Options & Configuration · AiDotNet.Data.Loaders

Configuration for parallel batch loading.

Constructors

Constructor Summary
ParallelBatchLoaderConfig()

Properties

Property Summary
bool PersistentWorkers { get; set; } Gets or sets whether to use persistent workers that stay alive between epochs.
bool PinMemory { get; set; } Gets or sets whether to pin memory for faster CPU-to-GPU transfer.
int NumWorkers { get; set; } Gets or sets the number of worker threads.
int PrefetchCount { get; set; } Gets or sets the number of batches to prefetch.
int WorkerTimeoutMs { get; set; } Gets or sets the timeout for worker operations in milliseconds.