srkreddy1238 commented on a change in pull request #4894: 
[RELAY][FRONTEND][TENSORFLOW] Fix FuseBatchNorm output cast error if need_cast 
is True
URL: https://github.com/apache/incubator-tvm/pull/4894#discussion_r381048061
 
 

 ##########
 File path: python/tvm/relay/frontend/tensorflow.py
 ##########
 @@ -897,6 +897,7 @@ def _impl(inputs, attr, params):
                       disables=['momentum'])(inputs, attr)
 
         if need_cast:
+            out = _expr.TupleGetItem(out.astuple(), 0)
 
 Review comment:
   It's true. I too see this recently and above change should fix it.

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

Reply via email to