CARVIEW |
Select Language
HTTP/2 200
date: Wed, 30 Jul 2025 20:08:52 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/"0431c120af65f5dbc9a4b94ea5d3a5f0"
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 wss://alive-staging.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=mvBy8tXGcebjDq2%2FhEPTi4asTdPVqkezfA%2BqHkqVDS7rO1MUEn6NnUdm3t4kLA2ULoVviji%2BzQesRe7fmEyk1sIJIlI03IKlIKWpT%2Bn46PvanoC6sg2Q2M9MWIbR1KZmkhmDSv1anciAPFsffGO92Yofsd4oWUBGGM30t2hJoTc5MCLmNmfkwKqe9n2Jdrk1NUaBqhkuUO8pyMKUrqZ0NclNP5epW48Ua94BFwwjOU7M4q1dMSDSfwaf%2B4gdHl%2B%2BYPs5se4z3yflpHjEdp3vKA%3D%3D--3CeoYtUO4%2FYfmjdW--PfiJh6yPG4a4grR%2BO1jF5w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.297987906.1753906132; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 20:08:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 30 Jul 2026 20:08:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: EE46:33D2EE:946CA:C0806:688A7BD3
[PIR]Migrate Momentum into pir (#58730) · PaddlePaddle/Paddle@54ac5b5 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/loss.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/momentum.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/regularizer.py
Copy file name to clipboardExpand all lines: python/paddle/static/input.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_momentum_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 54ac5b5
File tree
Expand file treeCollapse file tree
7 files changed
+114
-66
lines changedFilter options
- python/paddle
- nn/functional
- optimizer
- pir
- static
- test/legacy_test
Expand file treeCollapse file tree
7 files changed
+114
-66
lines changedpython/paddle/nn/functional/loss.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/loss.py+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
| |||
420 | 424 |
| |
421 | 425 |
| |
422 | 426 |
| |
423 |
| - | |
| 427 | + | |
424 | 428 |
| |
425 | 429 |
| |
426 | 430 |
| |
|
python/paddle/optimizer/momentum.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/momentum.py+10-6Lines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
207 |
| - | |
| 207 | + | |
208 | 208 |
| |
209 | 209 |
| |
210 | 210 |
| |
| |||
276 | 276 |
| |
277 | 277 |
| |
278 | 278 |
| |
279 |
| - | |
| 279 | + | |
280 | 280 |
| |
281 | 281 |
| |
282 | 282 |
| |
| |||
472 | 472 |
| |
473 | 473 |
| |
474 | 474 |
| |
475 |
| - | |
| 475 | + | |
476 | 476 |
| |
477 | 477 |
| |
478 |
| - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
479 | 481 |
| |
480 | 482 |
| |
481 |
| - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
482 | 486 |
| |
483 | 487 |
| |
484 | 488 |
| |
|
python/paddle/optimizer/optimizer.py
Copy file name to clipboardExpand all lines: python/paddle/optimizer/optimizer.py+42-31Lines changed: 42 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
846 | 846 |
| |
847 | 847 |
| |
848 | 848 |
| |
849 |
| - | |
850 | 849 |
| |
851 | 850 |
| |
852 | 851 |
| |
853 | 852 |
| |
854 | 853 |
| |
855 |
| - | |
856 |
| - | |
857 |
| - | |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 |
| - | |
863 | 854 |
| |
864 | 855 |
| |
865 | 856 |
| |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
874 |
| - | |
875 |
| - | |
876 |
| - | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
877 | 865 |
| |
878 | 866 |
| |
879 |
| - | |
880 |
| - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
881 | 883 |
| |
882 |
| - | |
883 |
| - | |
884 |
| - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
885 | 888 |
| |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
886 | 897 |
| |
887 |
| - | |
888 |
| - | |
889 |
| - | |
890 |
| - | |
891 |
| - | |
892 |
| - | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
893 | 904 |
| |
894 | 905 |
| |
895 | 906 |
| |
|
+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| 263 | + | |
263 | 264 |
| |
264 | 265 |
| |
265 | 266 |
| |
| |||
269 | 270 |
| |
270 | 271 |
| |
271 | 272 |
| |
272 |
| - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 |
| |
274 | 277 |
| |
275 | 278 |
| |
|
python/paddle/regularizer.py
Copy file name to clipboardExpand all lines: python/paddle/regularizer.py+12-8Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 |
| |
129 |
| - | |
| 131 | + | |
130 | 132 |
| |
131 | 133 |
| |
132 | 134 |
| |
| |||
233 | 235 |
| |
234 | 236 |
| |
235 | 237 |
| |
236 |
| - | |
237 |
| - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
238 | 242 |
| |
239 |
| - | |
| 243 | + | |
240 | 244 |
| |
241 | 245 |
| |
242 | 246 |
| |
|
python/paddle/static/input.py
Copy file name to clipboardExpand all lines: python/paddle/static/input.py+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
129 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 |
| |
131 | 134 |
| |
132 | 135 |
| |
|
test/legacy_test/test_momentum_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_momentum_op.py+36-17Lines changed: 36 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
123 |
| - | |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
129 | 130 |
| |
130 | 131 |
| |
131 |
| - | |
| 132 | + | |
132 | 133 |
| |
133 | 134 |
| |
134 | 135 |
| |
| |||
166 | 167 |
| |
167 | 168 |
| |
168 | 169 |
| |
169 |
| - | |
| 170 | + | |
170 | 171 |
| |
171 | 172 |
| |
172 | 173 |
| |
| |||
553 | 554 |
| |
554 | 555 |
| |
555 | 556 |
| |
| 557 | + | |
556 | 558 |
| |
557 | 559 |
| |
558 | 560 |
| |
559 |
| - | |
560 |
| - | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
561 | 564 |
| |
562 | 565 |
| |
563 |
| - | |
| 566 | + | |
| 567 | + | |
564 | 568 |
| |
565 | 569 |
| |
566 | 570 |
| |
| |||
575 | 579 |
| |
576 | 580 |
| |
577 | 581 |
| |
578 |
| - | |
579 | 582 |
| |
580 |
| - | |
| 583 | + | |
581 | 584 |
| |
582 |
| - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
583 | 593 |
| |
584 | 594 |
| |
585 | 595 |
| |
| |||
639 | 649 |
| |
640 | 650 |
| |
641 | 651 |
| |
642 |
| - | |
| 652 | + | |
643 | 653 |
| |
644 | 654 |
| |
645 | 655 |
| |
| |||
648 | 658 |
| |
649 | 659 |
| |
650 | 660 |
| |
651 |
| - | |
| 661 | + | |
652 | 662 |
| |
653 | 663 |
| |
654 | 664 |
| |
| |||
690 | 700 |
| |
691 | 701 |
| |
692 | 702 |
| |
| 703 | + | |
693 | 704 |
| |
694 | 705 |
| |
695 | 706 |
| |
696 |
| - | |
697 |
| - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
698 | 710 |
| |
699 | 711 |
| |
700 |
| - | |
| 712 | + | |
| 713 | + | |
701 | 714 |
| |
702 | 715 |
| |
703 | 716 |
| |
| |||
712 | 725 |
| |
713 | 726 |
| |
714 | 727 |
| |
715 |
| - | |
716 | 728 |
| |
717 |
| - | |
| 729 | + | |
718 | 730 |
| |
719 |
| - | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
720 | 739 |
| |
721 | 740 |
| |
722 | 741 |
| |
|
You can’t perform that action at this time.
0 commit comments