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 2022/11/16 13:11:02 UTC

[GitHub] [tvm] echuraev commented on a diff in pull request #13408: [OPENCL][TEXTURE] Test case enhancements and fixes for RPC

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


##########
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:
   Why do you need this `_op.cast`?



-- 
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-unsubscribe@tvm.apache.org

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