neural_compressor.experimental.data.dataloaders.fetcher
¶
Definitions of the methods to fetch data from an iterable-style or list-style dataset.
Module Contents¶
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. |
- class neural_compressor.experimental.data.dataloaders.fetcher.Fetcher(dataset, collate_fn, drop_last)¶
Bases:
object
Base class for different fetchers.