neural_compressor.tensorflow.algorithms.static_quant.keras
Module Contents
Classes
The keras class of framework adaptor layer. |
|
Class that queries configs from yaml settings. |
|
Convert StaticQuantConfig to the format used by static quant algo. |
|
The class that inserts FakeQuant or QDQ layers before the target layers. |
- class neural_compressor.tensorflow.algorithms.static_quant.keras.KerasAdaptor(framework_specific_info)[source]
The keras class of framework adaptor layer.
- class neural_compressor.tensorflow.algorithms.static_quant.keras.KerasQuery(local_config_file=None)[source]
Class that queries configs from yaml settings.
- class neural_compressor.tensorflow.algorithms.static_quant.keras.KerasConfigConverter(quant_config: neural_compressor.tensorflow.quantization.config.StaticQuantConfig, calib_iteration: int)[source]
Convert StaticQuantConfig to the format used by static quant algo.