From 4831e378655fda3d928026b10e98ee423dd6be11 Mon Sep 17 00:00:00 2001 From: cc <52520497+juncaipeng@users.noreply.github.com> Date: Mon, 17 May 2021 16:45:42 +0800 Subject: [PATCH] fix the error of fake_quant_dequant op name (#32866) (#32879) --- .../paddle/fluid/contrib/slim/quantization/imperative/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/contrib/slim/quantization/imperative/utils.py b/python/paddle/fluid/contrib/slim/quantization/imperative/utils.py index 004e1c1aa9b..491f8a7e25c 100644 --- a/python/paddle/fluid/contrib/slim/quantization/imperative/utils.py +++ b/python/paddle/fluid/contrib/slim/quantization/imperative/utils.py @@ -39,7 +39,7 @@ quant_input_layers_map = { fake_quantize_dequantize_types = [ "fake_quantize_dequantize_abs_max", - "fake_quantize_dequantize_channel_wise_abs_max", + "fake_channel_wise_quantize_dequantize_abs_max", "fake_quantize_dequantize_moving_average_abs_max" ] -- GitLab