gemini-code-assist[bot] commented on code in PR #18616:
URL: https://github.com/apache/tvm/pull/18616#discussion_r2648246693


##########
python/tvm/relax/transform/legalize_ops/index.py:
##########
@@ -17,7 +17,7 @@
 # pylint: disable=invalid-name
 """Default legalization function for index operators."""
 from tvm import topi, tir, te
-from ...op import call_pure_packed
+from ...op import call_pure_packed, tensor_to_shape

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   The `call_pure_packed` import is no longer used in this file following the 
refactoring. It can be removed to keep the imports clean.
   
   ```suggestion
   from ...op import tensor_to_shape
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to