echuraev commented on code in PR #13408:
URL: https://github.com/apache/tvm/pull/13408#discussion_r1024916269


##########
python/tvm/relay/frontend/tflite.py:
##########
@@ -1549,7 +1549,7 @@ def convert_gather(self, op):
         assert axis < data_dim, "Axis out of bounds"
 
         if self.has_expr(indices.tensor_idx):
-            indices_expr = self.get_expr(indices.tensor_idx)
+            indices_expr = _op.cast(self.get_expr(indices.tensor_idx), "int32")

Review Comment:
   @leandron, @AndrewZhaoLuo, @masahi   I have doubts, should the test be added 
for this change or not? 
   Other changes LGTM. 



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

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to