Skip to content

Conversation

@ConvolutedDog
Copy link
Contributor

@ConvolutedDog ConvolutedDog commented Jul 12, 2025

This PR fixes #18133 (constant ROI handling in resize2d):

  • Add support for Constant ROI input by converting to numpy array
  • Improve type checking with explicit error for unsupported dynamic ROI
  • Add proper error messaging:
    • Clear NotImplementedError for unsupported ROI types
    • Explicit dynamic ROI limitation notice

@ConvolutedDog
Copy link
Contributor Author

@mshr-h Request a review.

Copy link
Contributor

@mshr-h mshr-h left a comment

Choose a reason for hiding this comment

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

LGTM!

@mshr-h mshr-h merged commit a61e3ca into apache:main Jul 14, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
… models (apache#18138)

* Fix onnx resize2d

* Fix onnx resize2d

* Fix onnx resize2d

* Add more roi cases for unittest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Error converting operator Resize: Mismatched type on argument

2 participants