Skip to content

Conversation

jantonguirao
Copy link
Contributor

Signed-off-by: Joaquin Anton janton@nvidia.com

Description

  • It changes the shape inference logic of Resize so that it allows for both scales and sizes to be explicitly provided when at least one of them is an empty constant. In such cases we assume it's not provided

Motivation and Context

… empty constant

Signed-off-by: Joaquin Anton <janton@nvidia.com>
@jantonguirao jantonguirao requested review from a team as code owners July 27, 2022 13:59
@jcwchen jcwchen added the test ONNX Model Zoo [Caution] It will test this PR with ONNX Model Zoo label Jul 27, 2022
@p-wysocki
Copy link
Contributor

Good change, LTGM.

Copy link
Member

@jcwchen jcwchen left a comment

Choose a reason for hiding this comment

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

(*Update) LGTM. Thank you for the quick update! I can verify this update can solve previous failures on ONNX Model Zoo models.

@jcwchen jcwchen added module: shape inference Issues related to shape inference and removed test ONNX Model Zoo [Caution] It will test this PR with ONNX Model Zoo labels Jul 27, 2022
@daquexian daquexian enabled auto-merge (squash) August 5, 2022 16:12
@daquexian daquexian merged commit eb634ad into onnx:main Aug 6, 2022
broune pushed a commit to broune/onnx that referenced this pull request May 6, 2023
… empty constant (onnx#4388)

Signed-off-by: Joaquin Anton <janton@nvidia.com>

Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
Co-authored-by: daquexian <daquexian566@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: shape inference Issues related to shape inference
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

New Resize check for sizes and scales breaks some existing models
4 participants