Files
opencv/modules
Shiyu Xie 44bf6a2db3 Merge pull request #28714 from ShiyuXie0116:fix/onnx-dispatch-and-rotary-embedding-bugs
dnn: fix missing ONNX dispatch entries and RotaryEmbedding bugs #28714

- Wire RMSNormalization and RotaryEmbedding parsers into the ONNX dispatch map. Both parse functions were declared and implemented but never registered, causing the importer to fall through to the generic path and skip constant-folding of cos/sin caches.

- Fix NonMaxSuppression dispatch key typo ("NonMaxSuprression" -> "NonMaxSuppression") so the ONNX op name matches the registered layer class. Also fix the type string set inside the parser.

- Fix tautological self-comparison in RotaryEmbeddingLayer::getMemoryShapes (cos_cache_shape.dims == cos_cache_shape.dims -> sin_cache_shape.dims).

- Fix typo in RotaryEmbedding error message ("cos_cahe" -> "cos_cache").

### 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
- [x] 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
2026-03-31 08:49:01 +03:00
..
2026-03-19 11:29:57 +03:00
2026-02-20 22:05:35 +03:00
2026-03-19 11:29:57 +03:00
2026-03-19 11:29:57 +03:00
2026-03-19 11:29:57 +03:00
2026-02-14 15:37:33 +03:00
2026-02-14 15:37:33 +03:00
2025-06-10 10:16:50 +03:00
2026-03-19 11:29:57 +03:00
2026-03-24 18:54:54 +05:30
2026-03-19 11:29:57 +03:00
2026-03-19 11:29:57 +03:00
2026-02-20 22:05:35 +03:00
2026-02-14 15:37:33 +03:00
2026-03-19 11:29:57 +03:00
2026-02-14 15:37:33 +03:00