model-optimization icon indicating copy to clipboard operation
model-optimization copied to clipboard

Is there a way to do symmetric quantization for activations in post-training quantization

Open Lemiron24 opened this issue 4 years ago • 1 comments

https://tensorflow.google.cn/lite/performance/quantization_spec from this document we can see the post-training quantization do asymmetric quantization for activations, do symmetric quantization for wieghts.

I follow this guide: https://tensorflow.google.cn/lite/performance/post_training_integer_quant do full int8 quantization for my network mode is OK, as the above said the weights is symmetric , the feature is asymmetric.

My question is I also want the activations also is symmetric, How to do that?

thanks!

Lemiron24 avatar Aug 25 '21 10:08 Lemiron24

anybody can help me. thanks very much!

Lemiron24 avatar Aug 26 '21 03:08 Lemiron24