megvii-research / FQ-ViT

[IJCAI 2022] FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformer
Apache License 2.0
301 stars 48 forks source link

Some Questions about the Quantized Inference #37

Closed PeiyanFlying closed 1 year ago

PeiyanFlying commented 1 year ago

Hi, I'm not clear about the Power-of-Two Factor. I see the equation (23). How do you get the parameter 'a'? image And the corresponding code is this part? image Thanks for your helping!

linyang-zhh commented 1 year ago

Here link