neural_compressor.strategy.basic
The basic tuning strategy.
Classes
The basic tuning strategy. |
Module Contents
- class neural_compressor.strategy.basic.BasicTuneStrategy(model, conf, q_dataloader=None, q_func=None, eval_func=None, eval_dataloader=None, eval_metric=None, resume=None, q_hooks=None)[source]
The basic tuning strategy.
There are three stages executed by Basic strategy sequentially, and the tuning process ends once the condition meets the exit policy.