neural_compressor.utils
Utils: provide useful methods and auxiliary functionalities.
Submodules
neural_compressor.utils.collect_layer_histogramneural_compressor.utils.constantneural_compressor.utils.create_obj_from_configneural_compressor.utils.kl_divergenceneural_compressor.utils.load_huggingfaceneural_compressor.utils.loggerneural_compressor.utils.optionsneural_compressor.utils.pytorchneural_compressor.utils.utility
Package Contents
Classes
|
The collector of the histogram by layer. |
Functions
|
Output log with the level as a parameter. |
|
Output log with the info level. |
|
Output log with the debug level. |
|
Output log with the warning level. |
|
Output log with the warining level (Alias of the method warn). |
|
Output log with the error level. |
|
Output log with the fatal level. |
|
Set the random seed in config. |
Attributes
|