neural_compressor.data.dataloaders.onnxrt_dataloader
¶
Built-in dataloaders for onnxruntime framework backends.
Module Contents¶
Classes¶
Built-in dataloader for onnx bert model and its varients. |
|
Built-in dataloader for onnxruntime framework backends. |
- class neural_compressor.data.dataloaders.onnxrt_dataloader.ONNXRTBertDataLoader(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.data.dataloaders.default_dataloader.DefaultDataLoader
Built-in dataloader for onnx bert model and its varients.
- class neural_compressor.data.dataloaders.onnxrt_dataloader.ONNXRTDataLoader(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.data.dataloaders.base_dataloader.BaseDataLoader
Built-in dataloader for onnxruntime framework backends.