CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 22:58: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/"a2988ba2808b2acc908ddc00e5f3616a"
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=%2BsrJhrbRRvfup3UnunBBwhn%2FjSuY6nKM7TVVskY6pj2y5R%2FnE174ZrQ3odfdXqIC1v2GkGUvwJWbuau5wnA%2B3%2Bu7R%2Bk%2FeSJnX3pYL%2BlKXAZbkgxalow%2F0hlflnDRIjHQ1vWohIm1fGyE9bUHDzH0N8ZLHEzNvZ%2FUbNomF3K3ESAjG18JDMUXBa84y4Af7NMrDapGtc2LeBKm%2Bx4kRZKPBhr%2FzLAeQw1ew%2FG%2FY%2FSvQLI%2BweZUN2yvI%2FXOAAJXPJa0KmAIqnh9VnnammClfhUyTA%3D%3D--VKnLfwvSn11nOl0t--Ec53oHAz%2B2Ht6rMdQ%2F6lEQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1041988714.1753225080; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:58:00 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 22 Jul 2026 22:58:00 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8B98:D3350:1A6D4E:23F079:68801778
dnn cann backend: add hardswish, layernorm and instasnce norm for can… · opencv/opencv@024dfd5 · GitHub
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/elementwise_layers.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/gemm_layer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/instance_norm_layer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/layer_norm.cpp
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Commit 024dfd5
authored
dnn cann backend: add hardswish, layernorm and instasnce norm for cann and bug fix (#24462)
* add hardswish for cann
* gemm cann bug fix
* fix indentation
* cann: add layer norm
* cann: add instance norm
* add supportBackend
* cann: layer norm does not support axis=-1 due to 1d mat issue
* disable instance norm for now
* fix doc
* remove tensor desc initialization for 1D tensor1 parent ec97c38 commit 024dfd5Copy full SHA for 024dfd5
File tree
Expand file treeCollapse file tree
4 files changed
+132
-2
lines changedFilter options
- modules/dnn/src/layers
Expand file treeCollapse file tree
4 files changed
+132
-2
lines changedmodules/dnn/src/layers/elementwise_layers.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/elementwise_layers.cpp+24-1Lines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1890 | 1890 |
| |
1891 | 1891 |
| |
1892 | 1892 |
| |
1893 |
| - | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
1894 | 1896 |
| |
1895 | 1897 |
| |
1896 | 1898 |
| |
| |||
1905 | 1907 |
| |
1906 | 1908 |
| |
1907 | 1909 |
| |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
1908 | 1931 |
| |
1909 | 1932 |
| |
1910 | 1933 |
| |
|
modules/dnn/src/layers/gemm_layer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/gemm_layer.cpp+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
| 277 | + | |
277 | 278 |
| |
278 | 279 |
| |
279 | 280 |
| |
|
modules/dnn/src/layers/instance_norm_layer.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/instance_norm_layer.cpp+49Lines changed: 49 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
| |||
41 | 44 |
| |
42 | 45 |
| |
43 | 46 |
| |
| 47 | + | |
44 | 48 |
| |
45 | 49 |
| |
46 | 50 |
| |
| |||
169 | 173 |
| |
170 | 174 |
| |
171 | 175 |
| |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
172 | 221 |
| |
173 | 222 |
| |
174 | 223 |
| |
|
modules/dnn/src/layers/layer_norm.cpp
Copy file name to clipboardExpand all lines: modules/dnn/src/layers/layer_norm.cpp+58-1Lines changed: 58 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 |
| |
10 | 13 |
| |
11 | 14 |
| |
| |||
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
25 |
| - | |
| 28 | + | |
| 29 | + | |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
| |||
90 | 94 |
| |
91 | 95 |
| |
92 | 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 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
93 | 150 |
| |
94 | 151 |
| |
95 | 152 |
| |
|
You can’t perform that action at this time.
0 commit comments