https://zhuanlan.zhihu.com/p/1920946738270810330

知识点:

Image

Image

Image

Image

Image

Image

补充,对称量化/非对称量化:

Image

Image

注意,动态量化在实际工程中只存在于激活量化中,因为实际推理时权重是常量矩阵。