Skip to content

Clarify the axes input of [un]Squeeze to be 1D tensors#6888

Merged
justinchuby merged 2 commits intomainfrom
justinchu/squeeze-axes
May 5, 2025
Merged

Clarify the axes input of [un]Squeeze to be 1D tensors#6888
justinchuby merged 2 commits intomainfrom
justinchu/squeeze-axes

Conversation

@justinchuby
Copy link
Copy Markdown
Member

@justinchuby justinchuby commented Apr 11, 2025

Description

Clarify the axes input of [un]Squeeze to be 1D tensors.

Motivation and Context

Reduce ambiguity of the op spec.

Fixes #6886

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby added the auto update doc Generate md/proto files automatically using the CI pipeline label Apr 11, 2025
@justinchuby justinchuby requested a review from a team as a code owner April 11, 2025 15:43
@github-project-automation github-project-automation Bot moved this to In progress in PR Tracker Apr 11, 2025
@justinchuby justinchuby added the topic: operator Issues related to ONNX operators label Apr 11, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.31%. Comparing base (f81f262) to head (46fcbaa).
Report is 40 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6888   +/-   ##
=======================================
  Coverage   56.31%   56.31%           
=======================================
  Files         509      509           
  Lines       32606    32606           
  Branches     3099     3099           
=======================================
  Hits        18363    18363           
  Misses      13385    13385           
  Partials      858      858           

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

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@justinchuby justinchuby removed the auto update doc Generate md/proto files automatically using the CI pipeline label Apr 11, 2025
@justinchuby justinchuby reopened this Apr 11, 2025
@github-project-automation github-project-automation Bot moved this from In progress to Done in PR Tracker Apr 11, 2025
@github-project-automation github-project-automation Bot moved this from Done to In progress in PR Tracker Apr 11, 2025
@justinchuby justinchuby requested a review from xadupre April 11, 2025 19:07
@justinchuby justinchuby added this to the 1.19 milestone Apr 12, 2025
@github-project-automation github-project-automation Bot moved this from In progress to Reviewer approved in PR Tracker May 5, 2025
@justinchuby justinchuby added this pull request to the merge queue May 5, 2025
Merged via the queue into main with commit 8259849 May 5, 2025
39 checks passed
@justinchuby justinchuby deleted the justinchu/squeeze-axes branch May 5, 2025 23:57
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in PR Tracker May 5, 2025
gramalingam pushed a commit to gramalingam/onnx that referenced this pull request May 19, 2025
### Description

Clarify the `axes` input of [un]Squeeze to be 1D tensors.

### Motivation and Context

Reduce ambiguity of the op spec.

Fixes onnx#6886

---------

Signed-off-by: Justin Chu <justinchuby@users.noreply.github.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>
Signed-off-by: gramalingam <grama@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: operator Issues related to ONNX operators

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Clarify whether Unsqueeze should accept scalar axes

4 participants