Add moving_average_abs_max_scale op_register_version test=develop (#29957)

Add moving_average_abs_max_scale op_register_version
revert-31562-mean
guofei 5 years ago committed by GitHub
parent 0ca6de171f
commit b23faf37be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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."));

Loading…
Cancel
Save