forked from mindspore-Ecosystem/mindspore
!9817 use one_conv_fold for mobilenetv2_quant
From: @yuchaojie Reviewed-by: @linqingke,@xu-yfei Signed-off-by: @linqingke
This commit is contained in:
commit
1cf093ed0c
|
@ -102,7 +102,7 @@ def train_on_ascend():
|
|||
quantizer = QuantizationAwareTraining(bn_fold=True,
|
||||
per_channel=[True, False],
|
||||
symmetric=[True, False],
|
||||
one_conv_fold=False)
|
||||
one_conv_fold=True)
|
||||
network = quantizer.quantize(network)
|
||||
|
||||
# get learning rate
|
||||
|
|
Loading…
Reference in New Issue