ciyongch commented on a change in pull request #17187: [MKLDNN] Support channel wise quantization
for FullyConnected
URL: https://github.com/apache/incubator-mxnet/pull/17187#discussion_r362134357
##########
File path: python/mxnet/contrib/quantization.py
##########
@@ -978,7 +1004,7 @@ def __exit__(self, exc_type, exc_value, traceback):
net.collect_params().reset_ctx(ctx)
return net
-def quantize_net(network, quantized_dtype='auto', quantize_mode='full',
+def quantize_net(network, quantized_dtype='auto', quantize_mode='full', quantize_granularity='tensor-wise',
Review comment:
That make sense, so let's keep the `quantize_net` api as is, only adding the new params
in `v2` version.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|