File-based chunked storage for training samples to prevent memory accumulation
Instance methods
Add a log entry to the current chunk file
Sourcecleanup
Clean up all temporary files
Sourceread_all_logs
Read all logs from chunk files in chunks
Sourcerotate_chunk
Close current chunk and start a new one
Sourcetotal_logs
Get total number of logs across all chunks
Source