Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fengyuentau
Copy link
Member

Reasons of refactoring reduce layer:

  • Previous impl is not a single operation impl, leading to difficulties for other backend to support reduce layer.
  • [need to validate] Previous impl does not consider a case when reduced axes are symmetric.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

Copy link
Member

@zihaomu zihaomu left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@zihaomu zihaomu added category: dnn (onnx) ONNX suport issues in DNN module optimization labels May 15, 2023
@fengyuentau
Copy link
Member Author

Some variables are removed as they are not needed with this patch, causing some alerts in default, but it should be fine.

@opencv-alalek opencv-alalek added this to the 4.8.0 milestone May 15, 2023
@vpisarev vpisarev self-requested a review May 17, 2023 07:03
@vpisarev vpisarev merged commit eefee85 into opencv:4.x May 17, 2023
@asmorkalov asmorkalov mentioned this pull request Jul 4, 2023
thewoz pushed a commit to thewoz/opencv that referenced this pull request Jan 4, 2024
* initial impl

* remove reduce in8; fix reduce importer

* fix bugs and add log sum exp

* remove unnecessary header and fix indentation
@fengyuentau fengyuentau mentioned this pull request Feb 21, 2024
48 tasks
thewoz pushed a commit to thewoz/opencv that referenced this pull request May 29, 2024
* initial impl

* remove reduce in8; fix reduce importer

* fix bugs and add log sum exp

* remove unnecessary header and fix indentation
@fengyuentau fengyuentau deleted the refactor_reduce branch June 28, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants