yamle.quantization.static package#
- class yamle.quantization.static.StaticQuantizer(activation_bits, weight_bits)[source]#
Bases:
BaseQuantizerThis is the static quantizer class.
It performs static post-training quantization on the model. It does it with respect to a specific number of bits for the activation and weight. The quantization is simulated and the model is not actually quantized.