-
-
Notifications
You must be signed in to change notification settings - Fork 56.3k
DNN: Let Slice layer support non-sequential and negative axes #22554
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
Conversation
@fengyuentau friendly reminder. |
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.
👍
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.
Thank you! Looks good.
@WanliZhong please squash commits before merge. |
refactor the code for parsing Slice layer add test for Slice layer let 'begin' and 'end' resize to dims add opset message comment
3b2e6e4
to
4557971
Compare
@asmorkalov I've done and this pr is ready to be merged. Thanks! |
@WanliZhong Thanks! The PR looks good to me and is ready for merge. Please fix issues in related extra PR. I need to merge them together. |
Merge with extra: opencv/opencv_extra#1008
This PR try to fix #22355.
ONNX operator doc: https://github.com/onnx/onnx/blob/main/docs/Operators.md#Slice
TODO:
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.