You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2019/11/19 20:57:22 UTC

[GitHub] [incubator-tvm] tmoreau89 commented on a change in pull request #4295: [Relay][Quantize] Integrate data-aware calibration into quantization

tmoreau89 commented on a change in pull request #4295: [Relay][Quantize] Integrate data-aware calibration into quantization
URL: https://github.com/apache/incubator-tvm/pull/4295#discussion_r348163104
 
 

 ##########
 File path: python/tvm/relay/quantize/kl_divergence.py
 ##########
 @@ -54,6 +54,8 @@ def kl_divergence_scale(arr, quantized_dtype='int8', num_bins=8001, num_quantize
     http://on-demand.gputechconf.com/gtc/2017/presentation/s7310-8-bit-inference-with-tensorrt.pdf
     """
     assert isinstance(arr, np.ndarray)
+    assert stats is not None, "scipy need to be installed for \
 
 Review comment:
   needs

----------------------------------------------------------------
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