CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 23:44:55 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/opencv/opencv.git
etag: W/"2a0915dc99f381aa2b3a59f047b7de7b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=UmSYe3Y%2F%2F5mgiY4Yn%2FyfpSRlbBpOKnHpSYPHp82QoWMwVb5QEd0bmF4pCksJXzRAIAQ2Mqh5I928M3I1spFm5b7VZjqsUv07Y%2BmSOhqoJwRG2PNfK0zUK0tWG9FAlHNXxzLoBcgnkOtv8MdCKAsUGCeBJmR3c%2FH2qfTMi9wcjfgPkv8WF0%2FCfmsKGvDxPCO5cJENLO5DKgk7ePrQMdtXs%2FRhptx3RA99OWf89WTxst1MKkd7IGt%2FKIOzO3OrKoTqBI40pg6EQuA%2FAKw4VSZgPA%3D%3D--7mPMmbgvW8XTml7Y--lI8rlPZVNBtw3eQYXbvmuA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.28407710.1753227894; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:44:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 23:44:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DB5E:B5FA6:1CB965:27BC8D:68802276
Merge pull request #24765 from fengyuentau:mod_operator · opencv/opencv@c955564 · GitHub
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/eltwise_ops.cu
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/functors.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/math.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/primitives/eltwise.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/nary_eltwise_layers.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/onnx/onnx_importer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/test/test_onnx_conformance_layer_filter__openvino.inl.hpp
Copy file name to clipboardExpand all lines: modules/dnn/test/test_onnx_conformance_layer_parser_denylist.inl.hpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit c955564
authored
Merge pull request #24765 from fengyuentau:mod_operator
dnn onnx: add mod #24765
Resolves #23174
TODO:
- [x] enable some conformance tests
- [x] add backends
- [x] CANN
- [x] OpenVINO
- [x] CUDA
### 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
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake1 parent 43c1c81 commit c955564Copy full SHA for c955564
File tree
Expand file treeCollapse file tree
9 files changed
+137
-14
lines changedFilter options
- modules/dnn
- src
- cuda4dnn
- kernels
- primitives
- cuda
- layers
- onnx
- test
Expand file treeCollapse file tree
9 files changed
+137
-14
lines changedmodules/dnn/src/cuda/eltwise_ops.cu
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/eltwise_ops.cu+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
324 | 324 |
| |
325 | 325 |
| |
326 | 326 |
| |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
327 | 337 |
| |
| 338 | + | |
| 339 | + | |
328 | 340 |
| |
329 | 341 |
| |
330 | 342 |
| |
| |||
333 | 345 |
| |
334 | 346 |
| |
335 | 347 |
| |
| 348 | + | |
| 349 | + | |
336 | 350 |
| |
337 | 351 |
| |
338 | 352 |
| |
|
modules/dnn/src/cuda/functors.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/functors.hpp+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
799 | 799 |
| |
800 | 800 |
| |
801 | 801 |
| |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
802 | 836 |
| |
803 | 837 |
| |
804 | 838 |
|
modules/dnn/src/cuda/math.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda/math.hpp+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 |
| |
40 | 47 |
| |
41 | 48 |
| |
|
modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 |
| |
37 | 43 |
| |
38 | 44 |
|
modules/dnn/src/cuda4dnn/primitives/eltwise.hpp
Copy file name to clipboardExpand all lines: modules/dnn/src/cuda4dnn/primitives/eltwise.hpp+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
| 31 | + | |
| 32 | + | |
31 | 33 |
| |
32 | 34 |
| |
33 | 35 |
| |
| |||
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
| 95 | + | |
| 96 | + | |
93 | 97 |
| |
94 | 98 |
| |
95 | 99 |
| |
| |||
122 | 126 |
| |
123 | 127 |
| |
124 | 128 |
| |
| 129 | + | |
| 130 | + | |
125 | 131 |
| |
126 | 132 |
| |
127 | 133 |
| |
|
modules/dnn/src/layers/nary_eltwise_layers.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/nary_eltwise_layers.cpp+49-10Lines changed: 49 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 |
| |
28 | 38 |
| |
29 | 39 |
| |
| |||
42 | 52 |
| |
43 | 53 |
| |
44 | 54 |
| |
45 |
| - | |
| 55 | + | |
| 56 | + | |
46 | 57 |
| |
47 | 58 |
| |
48 | 59 |
| |
| |||
79 | 90 |
| |
80 | 91 |
| |
81 | 92 |
| |
| 93 | + | |
| 94 | + | |
82 | 95 |
| |
83 | 96 |
| |
84 | 97 |
| |
| |||
106 | 119 |
| |
107 | 120 |
| |
108 | 121 |
| |
109 |
| - | |
| 122 | + | |
| 123 | + | |
110 | 124 |
| |
111 | 125 |
| |
112 | 126 |
| |
113 | 127 |
| |
114 | 128 |
| |
115 |
| - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
116 | 132 |
| |
117 | 133 |
| |
118 |
| - | |
119 |
| - | |
120 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
121 | 137 |
| |
122 | 138 |
| |
123 | 139 |
| |
| |||
703 | 719 |
| |
704 | 720 |
| |
705 | 721 |
| |
706 |
| - | |
| 722 | + | |
707 | 723 |
| |
708 | 724 |
| |
709 | 725 |
| |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
710 | 732 |
| |
711 | 733 |
| |
712 | 734 |
| |
| |||
778 | 800 |
| |
779 | 801 |
| |
780 | 802 |
| |
781 |
| - | |
782 |
| - | |
783 |
| - | |
| 803 | + | |
| 804 | + | |
784 | 805 |
| |
785 | 806 |
| |
786 | 807 |
| |
| |||
833 | 854 |
| |
834 | 855 |
| |
835 | 856 |
| |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
836 | 863 |
| |
837 | 864 |
| |
838 | 865 |
| |
| |||
877 | 904 |
| |
878 | 905 |
| |
879 | 906 |
| |
| 907 | + | |
| 908 | + | |
880 | 909 |
| |
881 | 910 |
| |
882 | 911 |
| |
| |||
923 | 952 |
| |
924 | 953 |
| |
925 | 954 |
| |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
926 | 965 |
| |
927 | 966 |
| |
928 | 967 |
| |
|
modules/dnn/src/onnx/onnx_importer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/onnx/onnx_importer.cpp+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2830 | 2830 |
| |
2831 | 2831 |
| |
2832 | 2832 |
| |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
2833 | 2838 |
| |
2834 | 2839 |
| |
2835 | 2840 |
| |
| |||
4006 | 4011 |
| |
4007 | 4012 |
| |
4008 | 4013 |
| |
4009 |
| - | |
| 4014 | + | |
4010 | 4015 |
| |
4011 | 4016 |
| |
4012 | 4017 |
| |
|
modules/dnn/test/test_onnx_conformance_layer_filter__openvino.inl.hpp
Copy file name to clipboardExpand all lines: modules/dnn/test/test_onnx_conformance_layer_filter__openvino.inl.hpp+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1056 | 1056 |
| |
1057 | 1057 |
| |
1058 | 1058 |
| |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1059 | 1064 |
| |
1060 | 1065 |
| |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1061 | 1071 |
| |
1062 | 1072 |
| |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
1063 | 1078 |
| |
1064 | 1079 |
| |
1065 | 1080 |
| |
|
modules/dnn/test/test_onnx_conformance_layer_parser_denylist.inl.hpp
Copy file name to clipboardExpand all lines: modules/dnn/test/test_onnx_conformance_layer_parser_denylist.inl.hpp-3Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
213 |
| - | |
214 |
| - | |
215 |
| - | |
216 | 213 |
| |
217 | 214 |
| |
218 | 215 |
| |
|
You can’t perform that action at this time.
0 commit comments