From 3b668c157424dce5cbf52cbe813d15275616b1f3 Mon Sep 17 00:00:00 2001 From: WangZhen Date: Tue, 22 Jan 2019 15:37:04 +0800 Subject: [PATCH] Update some comments in the quantization transform pass. test=develop --- .../paddle/fluid/contrib/slim/quantization/quantization_pass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/contrib/slim/quantization/quantization_pass.py b/python/paddle/fluid/contrib/slim/quantization/quantization_pass.py index ce16a3241..266a106bc 100644 --- a/python/paddle/fluid/contrib/slim/quantization/quantization_pass.py +++ b/python/paddle/fluid/contrib/slim/quantization/quantization_pass.py @@ -313,6 +313,6 @@ class QuantizationTransformPass(object): def _quantized_scale_name(self, var_name): """ - Return quantized variable name for the input `var_name`. + Return the scale name of quantized variable for the input `var_name`. """ return "%s.scale" % (var_name) -- GitLab