Skip to content

Conversation

@titaiwangms
Copy link
Contributor

@titaiwangms titaiwangms commented Oct 15, 2025

Fixes #6103

Credits to: https://github.com/fdwr

@titaiwangms titaiwangms requested a review from a team as a code owner October 15, 2025 17:03
@github-project-automation github-project-automation bot moved this to In progress in PR Tracker Oct 15, 2025
Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
@titaiwangms titaiwangms force-pushed the titaiwang/wrap_up_reduce_typos branch from ba2a8bc to d39343c Compare October 15, 2025 17:04
Signed-off-by: Ti-Tai Wang <titaiwang@microsoft.com>
Copy link
Member

@justinchuby justinchuby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! cc @fdwr for another eye

@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in PR Tracker Oct 15, 2025
@codecov
Copy link

codecov bot commented Oct 15, 2025

Codecov Report

❌ Patch coverage is 93.75000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 54.45%. Comparing base (ff14dbc) to head (728c950).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
onnx/reference/ops/_op.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7394      +/-   ##
==========================================
+ Coverage   54.43%   54.45%   +0.02%     
==========================================
  Files         511      511              
  Lines       31892    31876      -16     
  Branches     2876     2868       -8     
==========================================
- Hits        17360    17359       -1     
+ Misses      13741    13734       -7     
+ Partials      791      783       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks Ti-Tai.

@justinchuby justinchuby merged commit 5f43d11 into onnx:main Oct 15, 2025
51 of 52 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in PR Tracker Oct 15, 2025
def handle_axes(self, axes, noop_with_empty_axes=False): # noqa: PLR0911
if isinstance(axes, tuple):
if len(axes) == 0:
if len(axes) == 0 and not noop_with_empty_axes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So: I guess the numpy convention is that axes=None means reduce over all axes?

justinchuby added a commit that referenced this pull request Oct 21, 2025
Follow up to #7394 : improving the
documentation. (The documentation seems to have undergone several
changes, please let me know if you have any concerns with the wording.)

---------

Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: justinchuby <11205048+justinchuby@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Spec for ReduceSumSquare is incorrect when noop_with_empty_axes == 1

4 participants