composer.profiler.dataloader_profiler#
Profiler to measure the time it takes the data loader to return a batch.
Classes
Profile a DataLoader. |
- class composer.profiler.dataloader_profiler.DataLoaderProfiler[source]#
Bases:
composer.core.callback.CallbackProfile a DataLoader.
This callback measures the latency it takes for the DataLoader to yield a batch.
Note
The Composer
Trainerautomatically creates an instance of thisDataLoaderProfilercallback whenever the profiler is enabled.When using the Composer
Trainer, one does not need to directly create an instance of thisDataLoaderProfilercallback.