CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 18:14:20 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/PaddlePaddle/Paddle.git
etag: W/"fa9ae27ee7a0591ea5b0a6ade1159895"
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=8QwnwX%2FBsxxzIduye3aN%2FhTc4Nvlkdf6SnP2iyiWJ39O3aGytVhzwmyzQPmv%2FJjnUnfu63LLQgWHO3yMjDfgdX18DfDXsS2OrojtlZHCMWJ101RocQ7HrMS0DUp9RW5AMfV8gBfnyA0jDN%2F6hdm6c9604rUfeHBs7qJYz6EzPIbDcE4M0%2BVoyZ3mA83lH4oNAxG7iHeJX3bziUPwaDI1h2bmUTKOODW2smml15hiBqLOX1J5sN6qS2kIWZTywPqcklYU0KaEOt%2F7ptbYoQyHyA%3D%3D--LDd0vcc6D%2B2Vk4gc--NzlG3CTL0j4tNQowhSYGnw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.701565124.1753467260; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 18:14:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 18:14:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EA38:FE17F:B53BC:DE432:6883C97C
[Typing][B-87] Add type annotations for `python/paddle/nn/utils/spect… · PaddlePaddle/Paddle@4867094 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/nn/utils/spectral_norm_hook.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 4867094
File tree
Expand file treeCollapse file tree
1 file changed
+36
-9
lines changedFilter options
- python/paddle/nn/utils
Expand file treeCollapse file tree
1 file changed
+36
-9
lines changedpython/paddle/nn/utils/spectral_norm_hook.py
Copy file name to clipboardExpand all lines: python/paddle/nn/utils/spectral_norm_hook.py+36-9Lines changed: 36 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
18 | 22 |
| |
19 | 23 |
| |
20 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 |
| |
22 | 32 |
| |
23 | 33 |
| |
24 |
| - | |
| 34 | + | |
25 | 35 |
| |
26 | 36 |
| |
27 | 37 |
| |
28 | 38 |
| |
29 | 39 |
| |
30 | 40 |
| |
31 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
32 | 53 |
| |
33 | 54 |
| |
34 | 55 |
| |
| |||
39 | 60 |
| |
40 | 61 |
| |
41 | 62 |
| |
42 |
| - | |
| 63 | + | |
43 | 64 |
| |
44 | 65 |
| |
45 | 66 |
| |
| |||
52 | 73 |
| |
53 | 74 |
| |
54 | 75 |
| |
55 |
| - | |
| 76 | + | |
56 | 77 |
| |
57 | 78 |
| |
58 | 79 |
| |
| |||
91 | 112 |
| |
92 | 113 |
| |
93 | 114 |
| |
94 |
| - | |
| 115 | + | |
95 | 116 |
| |
96 | 117 |
| |
97 | 118 |
| |
98 | 119 |
| |
99 | 120 |
| |
100 | 121 |
| |
101 | 122 |
| |
102 |
| - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
103 | 126 |
| |
104 | 127 |
| |
105 | 128 |
| |
| |||
138 | 161 |
| |
139 | 162 |
| |
140 | 163 |
| |
141 |
| - | |
142 |
| - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
143 | 170 |
| |
144 | 171 |
| |
145 | 172 |
| |
| |||
176 | 203 |
| |
177 | 204 |
| |
178 | 205 |
| |
179 |
| - | |
| 206 | + | |
180 | 207 |
| |
181 | 208 |
| |
182 | 209 |
| |
|
You can’t perform that action at this time.
0 commit comments