From 696cf62699ba1e1c98f61f7345ac7060010eb29a Mon Sep 17 00:00:00 2001 From: Zhen Wang Date: Sun, 5 May 2019 22:24:33 +0800 Subject: [PATCH] test=develop --- paddle/fluid/operators/fake_quantize_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/fake_quantize_op.cc b/paddle/fluid/operators/fake_quantize_op.cc index 1846456b8e..25ca1f7e0a 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$$ -- GitLab