tristan-arm 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_r347878614
##########
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:
Updated as suggested above
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services