CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 07:29:03 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/"a2f7bbf108668cd0db457342b749ee8f"
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=gReg63CgOGmB23EFwk7T3cgN6eAN4OWmxYrxyxXHdKnymTuavpXvFkipsAeoylrE7a6LMHnskQwEKI2oLRY8BuR3UpyyR%2BfOqVghZN%2B%2BMKzlXkpxT1UX4qd8%2BsAkbFvA1tCnk3O4nUQVtM1hljGGEtVDzPGmFhsP4%2F6%2F4RKEGQbI%2B294Avfvrb49gZUYFHb4czwybfJ8O7k4FLlmMbXMy2jRMcHN87Q5xu8Zgedn00ecAdy%2FwS5wjN%2Be7QNJv4TfuCnfjIA3hUtIAih5afweZQ%3D%3D--f4P7gcTdLnogrCpj--EdlFt2T5JF0vYZHHKkeeEw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1499422402.1753428542; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:29:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:29:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EC1A:10D5FF:22A8AE:26A966:6883323E
[PIR]Migrate Adam into pir (#58862) · PaddlePaddle/Paddle@f119a4e · GitHub
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adam.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/optimizer.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit f119a4e
File tree
Expand file treeCollapse file tree
3 files changed
+159
-45
lines changedFilter options
- python/paddle/optimizer
- test/legacy_test
Expand file treeCollapse file tree
3 files changed
+159
-45
lines changedpython/paddle/optimizer/adam.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/adam.py+92-31Lines changed: 92 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
23 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 |
| |
25 | 32 |
| |
26 | 33 |
| |
| |||
178 | 185 |
| |
179 | 186 |
| |
180 | 187 |
| |
181 |
| - | |
| 188 | + | |
182 | 189 |
| |
183 | 190 |
| |
184 | 191 |
| |
185 | 192 |
| |
186 |
| - | |
| 193 | + | |
187 | 194 |
| |
188 | 195 |
| |
189 | 196 |
| |
190 | 197 |
| |
191 |
| - | |
| 198 | + | |
192 | 199 |
| |
193 | 200 |
| |
194 | 201 |
| |
| |||
227 | 234 |
| |
228 | 235 |
| |
229 | 236 |
| |
230 |
| - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
231 | 241 |
| |
232 | 242 |
| |
233 | 243 |
| |
234 | 244 |
| |
235 | 245 |
| |
236 | 246 |
| |
237 | 247 |
| |
238 |
| - | |
| 248 | + | |
239 | 249 |
| |
240 | 250 |
| |
241 | 251 |
| |
| |||
246 | 256 |
| |
247 | 257 |
| |
248 | 258 |
| |
249 |
| - | |
| 259 | + | |
250 | 260 |
| |
251 | 261 |
| |
252 | 262 |
| |
253 | 263 |
| |
254 | 264 |
| |
255 | 265 |
| |
256 | 266 |
| |
257 |
| - | |
| 267 | + | |
258 | 268 |
| |
259 | 269 |
| |
260 | 270 |
| |
| |||
279 | 289 |
| |
280 | 290 |
| |
281 | 291 |
| |
282 |
| - | |
| 292 | + | |
283 | 293 |
| |
284 | 294 |
| |
285 | 295 |
| |
| |||
306 | 316 |
| |
307 | 317 |
| |
308 | 318 |
| |
309 |
| - | |
| 319 | + | |
310 | 320 |
| |
311 | 321 |
| |
312 | 322 |
| |
| |||
547 | 557 |
| |
548 | 558 |
| |
549 | 559 |
| |
550 |
| - | |
| 560 | + | |
551 | 561 |
| |
552 | 562 |
| |
553 | 563 |
| |
| |||
569 | 579 |
| |
570 | 580 |
| |
571 | 581 |
| |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
572 | 605 |
| |
573 | 606 |
| |
574 | 607 |
| |
| |||
609 | 642 |
| |
610 | 643 |
| |
611 | 644 |
| |
612 |
| - | |
613 |
| - | |
614 |
| - | |
615 |
| - | |
616 |
| - | |
617 |
| - | |
618 |
| - | |
619 |
| - | |
620 |
| - | |
621 |
| - | |
622 |
| - | |
623 |
| - | |
624 |
| - | |
625 |
| - | |
626 |
| - | |
627 |
| - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
628 | 685 |
| |
629 | 686 |
| |
630 | 687 |
| |
| |||
642 | 699 |
| |
643 | 700 |
| |
644 | 701 |
| |
645 |
| - | |
| 702 | + | |
646 | 703 |
| |
647 | 704 |
| |
648 | 705 |
| |
| |||
651 | 708 |
| |
652 | 709 |
| |
653 | 710 |
| |
654 |
| - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
655 | 714 |
| |
656 | 715 |
| |
657 |
| - | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
658 | 719 |
| |
659 | 720 |
| |
660 | 721 |
| |
|
python/paddle/optimizer/optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/optimizer.py+9-5Lines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
729 | 729 |
| |
730 | 730 |
| |
731 | 731 |
| |
732 |
| - | |
| 732 | + | |
733 | 733 |
| |
734 | 734 |
| |
735 | 735 |
| |
736 | 736 |
| |
737 | 737 |
| |
738 |
| - | |
| 738 | + | |
739 | 739 |
| |
740 |
| - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
741 | 743 |
| |
742 | 744 |
| |
743 | 745 |
| |
| |||
748 | 750 |
| |
749 | 751 |
| |
750 | 752 |
| |
751 |
| - | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
752 | 756 |
| |
753 | 757 |
| |
754 | 758 |
| |
| |||
1484 | 1488 |
| |
1485 | 1489 |
| |
1486 | 1490 |
| |
1487 |
| - | |
| 1491 | + | |
1488 | 1492 |
| |
1489 | 1493 |
| |
1490 | 1494 |
| |
|
You can’t perform that action at this time.
0 commit comments