Skip to content

Optimized Clipping

Benjamin Halimi requested to merge bhalimi/aidge_quantization:DevPTQ into main

Description

closes #15

This Merge Request aims to release the Optimized Clipping feature for the Post Training Quantization.

  • Implement the computing of the activation histograms
  • Implement the calculation of the best MSE clipping
  • Implement the calculation of the best KLD clipping
  • Add the clipping type argument to the quantization routine
  • Bench the Optimized Clipping on MNIST with a leNet
  • Bench the Optimized Clipping on ImageNet with a ResNet
  • Edit the tutorial to support the Optimized Clipping

Modified files : QuantPTQ.cpp, QuantPTQ.hpp and pybind_QuantPTQ.cpp

Edited by Maxence Naud

Merge request reports