neural_compressor.torch.quantization.autotune
Module Contents
Functions
|
|
|
|
|
The main entry of auto-tune. |
- neural_compressor.torch.quantization.autotune.autotune(model: torch.nn.Module, tune_config: neural_compressor.common.base_tuning.TuningConfig, eval_fn: Callable, eval_args=None, run_fn=None, run_args=None, example_inputs=None) torch.nn.Module | None [source]
The main entry of auto-tune.