kevinthesun commented on a change in pull request #4894: 
[RELAY][FRONTEND][TENSORFLOW] Fix FuseBatchNorm output cast float16 error
URL: https://github.com/apache/incubator-tvm/pull/4894#discussion_r380850705
 
 

 ##########
 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:
   Is this related to float16?

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