neural_compressor.data.dataloaders.fetcher
Definitions of the methods to fetch data from an iterable-style or list-style dataset.
Classes
Base class for different fetchers. |
|
Iterate to get next batch-size samples as a batch. |
|
Take single index or a batch of indices to fetch samples as a batch. |
Module Contents
- class neural_compressor.data.dataloaders.fetcher.Fetcher(dataset, collate_fn, drop_last)[source]
Base class for different fetchers.