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 2020/04/23 15:21:26 UTC

[GitHub] [incubator-tvm] inadob commented on issue #5394: [TFLITE]Quantize & Dequantize op

inadob commented on issue #5394:
URL: https://github.com/apache/incubator-tvm/pull/5394#issuecomment-618459856


   @siju-samuel 
   
   - Have you tried to recreate the TFL operations using tf.quantization.quantize() https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/quantization/quantize. 
   - Another way to produce quantize/dequantize in the graph is to use `converter.optimizations = [tf.lite.Optimize.DEFAULT]`. To avoid messing up with the method we already use to test quantized ops, I suggest creating a really simple fp32 TF graph, convert it to TFL as above and then use only that chunk containing "quantize" for testing. 


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