neural_compressor.experimental.data.dataloaders.pytorch_dataloader
¶
Initialize the Datasets class.
Module Contents¶
Classes¶
PyTorchDataLoader inherits from BaseDataLoader. |
- class neural_compressor.experimental.data.dataloaders.pytorch_dataloader.PyTorchDataLoader(dataset, batch_size=1, last_batch='rollover', collate_fn=None, sampler=None, batch_sampler=None, num_workers=0, pin_memory=False, shuffle=False, distributed=False)¶
Bases:
neural_compressor.experimental.data.dataloaders.base_dataloader.BaseDataLoader
PyTorchDataLoader inherits from BaseDataLoader.