CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:59:00 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/"481cc311dd623a396a767bfc43c74bc4"
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=D4gow%2F4Gu6Mr8OQy%2BdAcV%2FY%2FF0VLCcsdQciXajhMqechZwC8iTAJa9vN9xUaQJ90kchFi%2FVwlLo5QYOton%2Bleb0juc9Xcl7otGJs0j2rqs1yxt4CDbMTJ3%2BZLK8D5%2FZn8xww4LkoKt4jAVaWSZCIEg1EqsbQGrZvFAhlEY%2FZF%2B60laQaYjqtUFEl16WYwgYBjhb26bcML%2BCY37FP91B1eIG7MxmuyzINShFv4eiYukgjrPOl74Wl1RZBmJak2pZJUtc7k5MZqHmvKAOk7RQjog%3D%3D--cChjDCfny%2F56Rq4V--EzwrmCzLnKHxJiWuO6kCDQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.412275520.1753225139; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:58:59 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:58:59 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 99BC:261FF2:1A4FF0:23DCA0:688017B3
Merge pull request #24509 from Abdurrahheem:ash/dev_einsum_fast_gemm · opencv/opencv@8c10545 · GitHub
Copy file name to clipboardExpand all lines: modules/dnn/perf/perf_einsum.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/einsum_layer.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 8c10545
authored
Merge pull request #24509 from Abdurrahheem:ash/dev_einsum_fast_gemm
Fast gemm for einsum #24509
## This PR adds performance tests for Einsum Layer with FastGemm. See below results of performance test on different inputs
### 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
- [ ] 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 83d70b0 commit 8c10545Copy full SHA for 8c10545
File tree
Expand file treeCollapse file tree
2 files changed
+141
-145
lines changedFilter options
- modules/dnn
- perf
- src/layers
Expand file treeCollapse file tree
2 files changed
+141
-145
lines changedmodules/dnn/perf/perf_einsum.cpp
Copy file name to clipboardExpand all lines: modules/dnn/perf/perf_einsum.cpp+25-39Lines changed: 25 additions & 39 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
| 16 | + | |
18 | 17 |
| |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
| 23 | + | |
27 | 24 |
| |
28 | 25 |
| |
29 | 26 |
| |
| |||
41 | 38 |
| |
42 | 39 |
| |
43 | 40 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
47 | 44 |
| |
48 |
| - | |
49 |
| - | |
50 |
| - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
51 | 48 |
| |
52 |
| - | |
53 |
| - | |
| 49 | + | |
| 50 | + | |
54 | 51 |
| |
55 |
| - | |
56 |
| - | |
| 52 | + | |
| 53 | + | |
57 | 54 |
| |
58 |
| - | |
59 |
| - | |
| 55 | + | |
| 56 | + | |
60 | 57 |
| |
61 | 58 |
| |
62 | 59 |
| |
| |||
68 | 65 |
| |
69 | 66 |
| |
70 | 67 |
| |
71 |
| - | |
| 68 | + | |
72 | 69 |
| |
73 | 70 |
| |
74 | 71 |
| |
| |||
79 | 76 |
| |
80 | 77 |
| |
81 | 78 |
| |
82 |
| - | |
| 79 | + | |
83 | 80 |
| |
| 81 | + | |
84 | 82 |
| |
85 |
| - | |
| 83 | + | |
86 | 84 |
| |
87 |
| - | |
88 |
| - | |
| 85 | + | |
| 86 | + | |
89 | 87 |
| |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
| 88 | + | |
| 89 | + | |
104 | 90 |
| |
105 | 91 |
| |
106 | 92 |
| |
| 93 | + | |
107 | 94 |
| |
108 | 95 |
| |
109 | 96 |
| |
110 | 97 |
| |
111 |
| - | |
| 98 | + | |
112 | 99 |
| |
113 |
| - | |
114 | 100 |
| |
115 | 101 |
| |
116 | 102 |
| |
|
modules/dnn/src/layers/einsum_layer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/einsum_layer.cpp+116-106Lines changed: 116 additions & 106 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 | 36 |
| |
141 | 37 |
| |
142 | 38 |
| |
| |||
452 | 348 |
| |
453 | 349 |
| |
454 | 350 |
| |
| 351 | + | |
| 352 | + | |
455 | 353 |
| |
456 | 354 |
| |
457 | 355 |
| |
| |||
469 | 367 |
| |
470 | 368 |
| |
471 | 369 |
| |
472 |
| - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
473 | 376 |
| |
474 | 377 |
| |
475 | 378 |
| |
| |||
491 | 394 |
| |
492 | 395 |
| |
493 | 396 |
| |
| 397 | + | |
494 | 398 |
| |
495 | 399 |
| |
496 | 400 |
| |
| |||
1389 | 1293 |
| |
1390 | 1294 |
| |
1391 | 1295 |
| |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
1392 | 1402 |
| |
1393 | 1403 |
| |
1394 | 1404 |
| |
|
You can’t perform that action at this time.
0 commit comments