mirror of
https://github.com/opencv/opencv.git
synced 2026-11-27 11:57:11 -06:00
dnn: improve performance of softmax_3d with loop unrolling #27777 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] 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 - [x] The PR is proposed to the proper branch - This PR applies loop unrolling in the softmax function. - The change does not affect functional correctness. **Performance Improvements** - The optimization significantly improves the performance of softmax_3d on Windows ARM64 targets. <img width="703" height="203" alt="image" src="https://github.com/user-attachments/assets/85997c15-f543-432c-95e5-69099d71fe71" />