google / aqt

Apache License 2.0
262 stars 27 forks source link

This CL adds ridge regression as a method for post-processing the scales, reducing quantization error. #546

Open copybara-service[bot] opened 7 months ago

copybara-service[bot] commented 7 months ago

This CL adds ridge regression as a method for post-processing the scales, reducing quantization error.

A very similar technique is used in the QKeras quantized_bits quantizer (https://github.com/google/qkeras/blob/master/qkeras/quantizers.py)