neural_compressor.utils
Utils: provide useful methods and auxiliary functionalities.
Submodules
neural_compressor.utils.collect_layer_histogram
neural_compressor.utils.constant
neural_compressor.utils.create_obj_from_config
neural_compressor.utils.kl_divergence
neural_compressor.utils.load_huggingface
neural_compressor.utils.logger
neural_compressor.utils.neural_insights_utils
neural_compressor.utils.options
neural_compressor.utils.pytorch
neural_compressor.utils.utility
neural_compressor.utils.weights_details
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 warning level (Alias of the method warn). |
|
Output log with the error level. |
|
Output log with the fatal level. |
|
Decorator for aliasing a param in a function. |
Attributes
|