liaojianjin commented on issue #13759:
URL: https://github.com/apache/tvm/issues/13759#issuecomment-1443851270
You can find how to export index_put node in here
[@_onnx_symbolic("aten::index_put")](https://github.com/pytorch/pytorch/blob/master/torch/onnx/symbolic_opset11.py#L208).
If your index is slice, it will be converted to tensor in
[ReshapeToAdvancedIndexingFormat](
https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/passes/onnx/pattern_conversion/pattern_conversion.cpp#L182).
You can provide the demo onnx model to let me help you with this problem, I
can't downgrade pytorch to 1.8 at the moment.
--
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]