-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX] Add support for onnx.Resize with nearest_mode "round_prefer_floor" and "round_prefer_ceil" #3420
Comments
Assigned to @aldesilv |
Thanks for working on it. What about |
The referenced PR just got merged. Here is a status update, so please let us know if any of the currently unsupported features are needed by your team. @flemairen6 I'm going to do some E2E testing and put up a report today to see if we are running into any numerical issues with the supported configurations below. Resize Status:Currently Supported:
Currently Unsupported:
|
A few notes after doing some e2e testing via the iree_tests:
|
The referenced PR #3443 addresses these two issues:
I'm still looking into the align_corners issue, since it seems like our calculation "does what it should" in this case. I'll try doing some more testing to confirm whether this test is giving the correct golden output. Other updates: #3441 Adds support for nearest mode with coordinate_transformation_mode = half_pixel (thanks @mgehre !) |
…3443) This patch fixes several failing tests in our [external test suite](https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/onnx/node/generated), and addresses some of the issues discussed in #3420
…lvm#3443) This patch fixes several failing tests in our [external test suite](https://github.com/nod-ai/SHARK-TestSuite/tree/main/iree_tests/onnx/node/generated), and addresses some of the issues discussed in llvm#3420
Currently the torchOnnxToTorch pass seems to only support nearest mode with floor.
The text was updated successfully, but these errors were encountered: