CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 02:36:06 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/"9b4c86d355b121c91a18d61b14c6883d"
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=lcFB7YcCLncaT%2FFMgqN097tgIvI04tjCOmtswf%2BZNY3r1Oz0Tno00ANeOSJ7Hirqv8pDYkHgwU0iXEOLxKz4HEe%2FYaW0WhMh5%2FeL%2FHX8UZf%2FS53S5sA7yzn%2FSqLnbx%2F3%2FaeXZvfnOOHfinl5idJeVi3mAbs5MeSGx%2FeficcHOvlAIusAROuSIS27DkQk4ZsuUanNajEaEOUOUswLw9NKwvG355b8Xb4JFu1Zg0O4ufvcAIeA%2F7aP9bcCacpMGRDfpNcWItLDkWLhx4VqZyS3CQ%3D%3D--%2B64J%2FhKg3H%2FGZvmm--Jo9emWuOjMvpbg78BkM7Zg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.299243271.1753583765; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 02:36:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 02:36:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: CFE2:3467EF:A1B998:D6CD5A:68859095
[Typing][A-48,A-49,A-50][debug] Add type annotations for 3 optimizers… · PaddlePaddle/Paddle@fb3ebb4 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/hapi/model_summary.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adam.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamax.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamw.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/asgd.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/lamb.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/momentum.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/nadam.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit fb3ebb4
File tree
Expand file treeCollapse file tree
13 files changed
+241
-129
lines changedFilter options
- python/paddle
- hapi
- optimizer
Expand file treeCollapse file tree
13 files changed
+241
-129
lines changedpython/paddle/hapi/model_summary.py
Copy file name to clipboardExpand all lines: python/paddle/hapi/model_summary.py+10-11Lines changed: 10 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
| 47 | + | |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
|
python/paddle/optimizer/adam.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adam.py+27-17Lines changed: 27 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
133 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
134 | 136 |
| |
135 | 137 |
| |
136 | 138 |
| |
| |||
147 | 149 |
| |
148 | 150 |
| |
149 | 151 |
| |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 |
| |
156 | 160 |
| |
157 | 161 |
| |
| |||
174 | 178 |
| |
175 | 179 |
| |
176 | 180 |
| |
177 |
| - | |
| 181 | + | |
| 182 | + | |
178 | 183 |
| |
179 | 184 |
| |
180 | 185 |
| |
181 | 186 |
| |
182 | 187 |
| |
| 188 | + | |
183 | 189 |
| |
184 | 190 |
| |
185 | 191 |
| |
| |||
192 | 198 |
| |
193 | 199 |
| |
194 | 200 |
| |
195 |
| - | |
196 |
| - | |
197 |
| - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
198 | 204 |
| |
199 | 205 |
| |
200 | 206 |
| |
| |||
265 | 271 |
| |
266 | 272 |
| |
267 | 273 |
| |
268 |
| - | |
269 |
| - | |
270 |
| - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
271 | 279 |
| |
272 | 280 |
| |
273 | 281 |
| |
| |||
276 | 284 |
| |
277 | 285 |
| |
278 | 286 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
282 | 292 |
| |
283 | 293 |
| |
284 | 294 |
| |
|
python/paddle/optimizer/adamax.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamax.py+15-13Lines changed: 15 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
125 | 126 |
| |
126 | 127 |
| |
127 |
| - | |
128 |
| - | |
| 128 | + | |
| 129 | + | |
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
| |||
135 | 136 |
| |
136 | 137 |
| |
137 | 138 |
| |
138 |
| - | |
| 139 | + | |
139 | 140 |
| |
140 | 141 |
| |
141 | 142 |
| |
| |||
149 | 150 |
| |
150 | 151 |
| |
151 | 152 |
| |
152 |
| - | |
153 |
| - | |
| 153 | + | |
| 154 | + | |
154 | 155 |
| |
| 156 | + | |
155 | 157 |
| |
156 | 158 |
| |
157 | 159 |
| |
| |||
163 | 165 |
| |
164 | 166 |
| |
165 | 167 |
| |
166 |
| - | |
167 |
| - | |
168 |
| - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
169 | 171 |
| |
170 | 172 |
| |
171 | 173 |
| |
|
python/paddle/optimizer/adamw.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adamw.py+24-17Lines changed: 24 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 |
| |
130 | 131 |
| |
131 | 132 |
| |
| |||
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
174 |
| - | |
175 |
| - | |
176 |
| - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
177 | 178 |
| |
178 | 179 |
| |
179 | 180 |
| |
| |||
383 | 384 |
| |
384 | 385 |
| |
385 | 386 |
| |
386 |
| - | |
387 |
| - | |
388 |
| - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
389 | 392 |
| |
390 | 393 |
| |
391 | 394 |
| |
| |||
394 | 397 |
| |
395 | 398 |
| |
396 | 399 |
| |
397 |
| - | |
398 |
| - | |
399 |
| - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
400 | 405 |
| |
401 | 406 |
| |
402 | 407 |
| |
| |||
538 | 543 |
| |
539 | 544 |
| |
540 | 545 |
| |
541 |
| - | |
542 |
| - | |
543 |
| - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
544 | 551 |
| |
545 | 552 |
| |
546 | 553 |
| |
|
python/paddle/optimizer/asgd.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/asgd.py+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 |
| |
99 | 104 |
| |
100 | 105 |
| |
|
python/paddle/optimizer/lamb.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/lamb.py+16-10Lines changed: 16 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 |
| |
116 | 121 |
| |
117 | 122 |
| |
118 | 123 |
| |
119 | 124 |
| |
| 125 | + | |
120 | 126 |
| |
121 | 127 |
| |
122 | 128 |
| |
| |||
129 | 135 |
| |
130 | 136 |
| |
131 | 137 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 |
| |
136 | 142 |
| |
137 | 143 |
| |
| |||
211 | 217 |
| |
212 | 218 |
| |
213 | 219 |
| |
214 |
| - | |
215 |
| - | |
216 |
| - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
217 | 223 |
| |
218 | 224 |
| |
219 | 225 |
| |
| |||
222 | 228 |
| |
223 | 229 |
| |
224 | 230 |
| |
225 |
| - | |
226 |
| - | |
227 |
| - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
228 | 234 |
| |
229 | 235 |
| |
230 | 236 |
| |
|
python/paddle/optimizer/momentum.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/momentum.py+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 |
| |
93 | 97 |
| |
94 | 98 |
| |
| |||
117 | 121 |
| |
118 | 122 |
| |
119 | 123 |
| |
| 124 | + | |
120 | 125 |
| |
121 | 126 |
| |
122 | 127 |
| |
|
python/paddle/optimizer/nadam.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/nadam.py+8-6Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
113 |
| - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
114 | 116 |
| |
115 | 117 |
| |
116 | 118 |
| |
| |||
124 | 126 |
| |
125 | 127 |
| |
126 | 128 |
| |
127 |
| - | |
| 129 | + | |
128 | 130 |
| |
129 | 131 |
| |
130 | 132 |
| |
| |||
154 | 156 |
| |
155 | 157 |
| |
156 | 158 |
| |
157 |
| - | |
158 |
| - | |
159 |
| - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
160 | 162 |
| |
161 | 163 |
| |
162 | 164 |
| |
|
You can’t perform that action at this time.
0 commit comments