tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] inadob commented on issue #5394: [TFLITE]Quantize & Dequantize op
Date Thu, 23 Apr 2020 15:21:26 GMT

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



Mime
View raw message