You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "vacu9708 (via GitHub)" <gi...@apache.org> on 2025/06/23 03:51:25 UTC

[PR] [Relax][ONNX] Update Reduce ops to support axes as input [tvm]

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

   # Summary
   This PR follows up on https://github.com/apache/tvm/pull/18072 by updating the Reduce operators to accept axes as an input instead of an attribute.
   
   # Changes
   - Support axes as an input for Reduce ops (e.g., ReduceL2, ReduceMax, …)
   - Add corresponding test cases
   
   | Axes provided? | noop_with_empty_axes | Behavior |
   |:-----:|:-----:|:----------------------------------------------:|
   | No  | 0     | Reduce over **all** dimensions       |
   | No  | 1     | Return the input **unchanged**       |
   | Yes | any | Reduce over the **specified** axes |


-- 
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] [Relax][ONNX] Update Reduce ops to support axes as input [tvm]

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


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