|
|
@ -813,3 +813,11 @@ REGISTER_OP_VERSION(fake_channel_wise_quantize_abs_max)
|
|
|
|
"quantization to conv2d_tranpose and mul ops.)ROC",
|
|
|
|
"quantization to conv2d_tranpose and mul ops.)ROC",
|
|
|
|
paddle::framework::compatible::OpVersionDesc().NewAttr(
|
|
|
|
paddle::framework::compatible::OpVersionDesc().NewAttr(
|
|
|
|
"quant_axis", "The axis for quantization.", 0));
|
|
|
|
"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."));
|
|
|
|