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/15 09:00:58 UTC

[GitHub] [incubator-tvm] FrozenGene commented on a change in pull request #4339: Added tflite frontend support for quantized mean

FrozenGene commented on a change in pull request #4339: Added tflite frontend support for quantized mean
URL: https://github.com/apache/incubator-tvm/pull/4339#discussion_r346719008
 
 

 ##########
 File path: python/tvm/relay/frontend/tflite.py
 ##########
 @@ -659,7 +659,23 @@ def _convert_reduce(self, relay_op, op):
         reduce_options.Init(op_options.Bytes, op_options.Pos)
         keep_dims = reduce_options.KeepDims()
 
+        if input_tensor.qnn_params:
+            in_expr = _qnn.op.dequantize(data=in_expr,
 
 Review comment:
   Hmm...do we have to dequantize -> compute fp32 -> requantize? could we do only integer computation? 

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