提交 696cf626 编写于 作者: Z Zhen Wang

test=develop

上级 ea72246f
...@@ -449,7 +449,7 @@ class MovingAverageAbsMaxScaleOpMaker ...@@ -449,7 +449,7 @@ class MovingAverageAbsMaxScaleOpMaker
.SetDefault(false); .SetDefault(false);
AddComment(R"DOC( AddComment(R"DOC(
MovingAverageAbsMaxScale operator is only used for calculating the quantization scale. 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)$$ $$scale = (moving\_rate*accum+max(abs(x)))/(moving\_rate*state+1)$$
$$Out = X$$ $$Out = X$$
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册