You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "PatrikPerssonInceptron (via GitHub)" <gi...@apache.org> on 2025/02/11 18:45:27 UTC

[PR] [ONNX][RELAX] replace topi.split with relax.op.split in the onnx frontend [tvm]

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

   Replaces topi.split with relax.op.split in the ONNX frontend to align with the Relax operator API.
   
   Fixes related ONNX frontend unit tests by:
   - Updating InferStructInfoSplit to return a TensorStructInfo instead of a TupleStructInfo if the operator produces only one split.
   - Updating the relax.split legalize callback to only perform the modulo != 0 check when the modulo result is a constant expression, which is aligned with previous behavior.


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


Re: [PR] [ONNX][RELAX] replace topi.split with relax.op.split in the onnx frontend [tvm]

Posted by "Hzfengsy (via GitHub)" <gi...@apache.org>.
Hzfengsy commented on PR #17642:
URL: https://github.com/apache/tvm/pull/17642#issuecomment-2661252363

   Thanks @PatrikPerssonInceptron 


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


Re: [PR] [ONNX][RELAX] replace topi.split with relax.op.split in the onnx frontend [tvm]

Posted by "Hzfengsy (via GitHub)" <gi...@apache.org>.
Hzfengsy merged PR #17642:
URL: https://github.com/apache/tvm/pull/17642


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