未验证 提交 b23faf37 编写于 作者: G guofei 提交者: GitHub

Add moving_average_abs_max_scale op_register_version test=develop (#29957)

Add moving_average_abs_max_scale op_register_version
上级 0ca6de17
......@@ -813,3 +813,11 @@ REGISTER_OP_VERSION(fake_channel_wise_quantize_abs_max)
"quantization to conv2d_tranpose and mul ops.)ROC",
paddle::framework::compatible::OpVersionDesc().NewAttr(
"quant_axis", "The axis for quantization.", 0));
REGISTER_OP_VERSION(moving_average_abs_max_scale)
.AddCheckpoint(
R"ROC(Incompatible upgrade of output [Out])ROC",
paddle::framework::compatible::OpVersionDesc().DeleteOutput(
"Out",
"Delete output in order to make the inference model not "
"save moving_average_abs_max_scale operator. This will "
"make the quantitative model be correctly applied in inference."));
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册