Gunse11er opened a new pull request, #20179: URL: https://github.com/apache/tvm/pull/20179
The Relax ONNX frontend preserves Shape outputs as ShapeExpr values. Gather assumed its indices operand always had a tensor type and accessed its dtype, which raised an AttributeError when a Shape output was used as indices. Materialize ShapeExpr indices as int64 tensors before the existing dtype and negative-index handling. Add an execution test that compares the imported model against ONNX Runtime. Fixes #20176. -- 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]
