-
Notifications
You must be signed in to change notification settings - Fork 449
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
feat: added reduce min onnx import #1894
feat: added reduce min onnx import #1894
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1894 +/- ##
==========================================
+ Coverage 86.07% 86.09% +0.02%
==========================================
Files 781 781
Lines 91616 91822 +206
==========================================
+ Hits 78861 79058 +197
- Misses 12755 12764 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty similar to ReduceMax
😄
LGTM, just a minor comment. Will merge afterwards.
# ReduceMax, keepdims=0, axes=None | ||
torch.min(x), | ||
# ReduceMax, keepdims=1, axes=[1] | ||
torch.min(x, dim=1, keepdim=True).values, | ||
# ReduceMax, keepdims=1, axes=[-1] | ||
torch.min(x, dim=-1, keepdim=True).values, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming the comments are supposed to refer to ReduceMin
?
We can change the comments to reflect the actual op.
511d9e8
to
283e0d8
Compare
It was a great source of inspiration 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🙂 thanks for the contribution
Checklist
run-checks all
script has been executed.Related Issues/PRs
Helps with #1714
Changes
Reduce min import based on the reduce max
Testing
Manual
cargo test -p burn-import --color=always -- --color=always
cargo test -p onnx-tests --color=always