guan404ming opened a new pull request, #18533:
URL: https://github.com/apache/tvm/pull/18533

   ## Related Issue
   
   closes https://github.com/apache/tvm/issues/18355
   
   ## Why
   
   Converting PyTorch operations like M[:, rows, cols] = x failed because:
   1. The TOPI index_put implementation called len() on TVM Tensor objects 
(unsupported)
   2. Index tensors with different shapes (e.g., (2,) and (10,)) couldn't 
broadcast together
   
   ## How
   
   - Added broadcasting support following NumPy rules to handle 
multi-dimensional index tensors
   - add tests for batched indexing pattern M[:, rows, cols] = x


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