diff --git a/paddle/fluid/operators/fake_quantize_op.cc b/paddle/fluid/operators/fake_quantize_op.cc index 1846456b8e3060e1cb8e103b1bd0d4788194ea3e..25ca1f7e0a0086b803d48aa892b0888e0d5635b1 100644 --- a/paddle/fluid/operators/fake_quantize_op.cc +++ b/paddle/fluid/operators/fake_quantize_op.cc @@ -449,7 +449,7 @@ class MovingAverageAbsMaxScaleOpMaker .SetDefault(false); AddComment(R"DOC( MovingAverageAbsMaxScale operator is only used for calculating the quantization scale. -It will not quantize the input tensor. +And it will not quantize the input tensor. $$scale = (moving\_rate*accum+max(abs(x)))/(moving\_rate*state+1)$$ $$Out = X$$