!9453 fix symmetric bug

From: @xiaoyisd
Reviewed-by: @liangchenghui,@jjfeing
Signed-off-by: @liangchenghui
This commit is contained in:
mindspore-ci-bot 2020-12-04 09:20:02 +08:00 committed by Gitee
commit 9aae337f11
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def train_on_gpu():
# convert fusion network to quantization aware network
quantizer = QuantizationAwareTraining(bn_fold=True,
per_channel=[True, False],
symmetric=[True, False],
symmetric=[False, False],
freeze_bn=1000000,
quant_delay=step_size * 2)
network = quantizer.quantize(network)