CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 00:41:37 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/"2b829700821bb221fd415a00eb80e5e2"
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=KaevcDrac0%2B4bojd1Aj5yzmF%2FRFMZVA9DadLvvuulVVTALd2rhvuNGky8YXXJqcnj%2FQqGNOf1VrMfAXSTOHoMEH5cKJxcnOIitrG7Je9d7jNT6iHVu3nMc5HcYE0QQ6gHeKsI4Oj6MFEaimIkvOIDULzxGFv%2BbHcz93cHfBNf9nK77793SkCIjL74lcmIT7S8tN9b1MZ3r8%2Bde7VnDpeDNEgt9BufTd3EIES%2BdVML5yhfWtOfLXiOHI9t0lcqECiUZ8%2FVZrmZYicXevVx%2Bx1Mw%3D%3D--s9KBtMdh%2FEpf504s--ABJxNZdGyaLQLDmNxuaNDg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2106367545.1753576896; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 00:41:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 00:41:36 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8004:37D5F1:9A3631:CBA000:688575C0
[PIR]Migrate CrossEntropyLoss into pir (#58519) · PaddlePaddle/Paddle@f663ef1 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/common.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/input.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/loss.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_cross_entropy_loss.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit f663ef1
File tree
Expand file treeCollapse file tree
4 files changed
+65
-25
lines changedFilter options
- python/paddle/nn/functional
- test/legacy_test
Expand file treeCollapse file tree
4 files changed
+65
-25
lines changedpython/paddle/nn/functional/common.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/common.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2050 | 2050 |
| |
2051 | 2051 |
| |
2052 | 2052 |
| |
2053 |
| - | |
| 2053 | + | |
2054 | 2054 |
| |
2055 | 2055 |
| |
2056 | 2056 |
| |
|
python/paddle/nn/functional/input.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/input.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
python/paddle/nn/functional/loss.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/loss.py+30-21Lines changed: 30 additions & 21 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 |
| |
| |||
2935 | 2935 |
| |
2936 | 2936 |
| |
2937 | 2937 |
| |
2938 |
| - | |
2939 |
| - | |
2940 |
| - | |
2941 |
| - | |
2942 |
| - | |
2943 |
| - | |
2944 |
| - | |
2945 |
| - | |
2946 |
| - | |
2947 |
| - | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
2948 | 2955 |
| |
2949 |
| - | |
2950 |
| - | |
2951 |
| - | |
2952 |
| - | |
2953 |
| - | |
2954 |
| - | |
2955 |
| - | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
2956 | 2963 |
| |
2957 | 2964 |
| |
2958 | 2965 |
| |
| |||
3036 | 3043 |
| |
3037 | 3044 |
| |
3038 | 3045 |
| |
3039 |
| - | |
| 3046 | + | |
3040 | 3047 |
| |
3041 | 3048 |
| |
3042 | 3049 |
| |
3043 | 3050 |
| |
3044 | 3051 |
| |
3045 | 3052 |
| |
3046 |
| - | |
| 3053 | + | |
3047 | 3054 |
| |
3048 | 3055 |
| |
3049 | 3056 |
| |
3050 | 3057 |
| |
3051 |
| - | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
3052 | 3061 |
| |
3053 | 3062 |
| |
3054 | 3063 |
| |
|
test/legacy_test/test_cross_entropy_loss.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_cross_entropy_loss.py+32-1Lines changed: 32 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| |||
272 | 273 |
| |
273 | 274 |
| |
274 | 275 |
| |
| 276 | + | |
275 | 277 |
| |
276 | 278 |
| |
277 | 279 |
| |
| |||
360 | 362 |
| |
361 | 363 |
| |
362 | 364 |
| |
| 365 | + | |
363 | 366 |
| |
364 | 367 |
| |
365 | 368 |
| |
| |||
460 | 463 |
| |
461 | 464 |
| |
462 | 465 |
| |
| 466 | + | |
463 | 467 |
| |
464 | 468 |
| |
465 | 469 |
| |
| |||
544 | 548 |
| |
545 | 549 |
| |
546 | 550 |
| |
| 551 | + | |
547 | 552 |
| |
548 | 553 |
| |
549 | 554 |
| |
| |||
634 | 639 |
| |
635 | 640 |
| |
636 | 641 |
| |
| 642 | + | |
637 | 643 |
| |
638 | 644 |
| |
639 | 645 |
| |
| |||
739 | 745 |
| |
740 | 746 |
| |
741 | 747 |
| |
| 748 | + | |
742 | 749 |
| |
743 | 750 |
| |
744 | 751 |
| |
| |||
840 | 847 |
| |
841 | 848 |
| |
842 | 849 |
| |
| 850 | + | |
843 | 851 |
| |
844 | 852 |
| |
845 | 853 |
| |
| |||
937 | 945 |
| |
938 | 946 |
| |
939 | 947 |
| |
| 948 | + | |
940 | 949 |
| |
941 | 950 |
| |
942 | 951 |
| |
| |||
1036 | 1045 |
| |
1037 | 1046 |
| |
1038 | 1047 |
| |
| 1048 | + | |
1039 | 1049 |
| |
1040 | 1050 |
| |
1041 | 1051 |
| |
| |||
1143 | 1153 |
| |
1144 | 1154 |
| |
1145 | 1155 |
| |
| 1156 | + | |
1146 | 1157 |
| |
1147 | 1158 |
| |
1148 | 1159 |
| |
| |||
1253 | 1264 |
| |
1254 | 1265 |
| |
1255 | 1266 |
| |
| 1267 | + | |
1256 | 1268 |
| |
1257 | 1269 |
| |
1258 | 1270 |
| |
| |||
1350 | 1362 |
| |
1351 | 1363 |
| |
1352 | 1364 |
| |
| 1365 | + | |
1353 | 1366 |
| |
1354 | 1367 |
| |
1355 | 1368 |
| |
| |||
1452 | 1465 |
| |
1453 | 1466 |
| |
1454 | 1467 |
| |
| 1468 | + | |
1455 | 1469 |
| |
1456 | 1470 |
| |
1457 | 1471 |
| |
| |||
1557 | 1571 |
| |
1558 | 1572 |
| |
1559 | 1573 |
| |
| 1574 | + | |
1560 | 1575 |
| |
1561 | 1576 |
| |
1562 | 1577 |
| |
| |||
1667 | 1682 |
| |
1668 | 1683 |
| |
1669 | 1684 |
| |
1670 |
| - | |
| 1685 | + | |
1671 | 1686 |
| |
1672 | 1687 |
| |
1673 | 1688 |
| |
| |||
1714 | 1729 |
| |
1715 | 1730 |
| |
1716 | 1731 |
| |
| 1732 | + | |
1717 | 1733 |
| |
1718 | 1734 |
| |
1719 | 1735 |
| |
| |||
1763 | 1779 |
| |
1764 | 1780 |
| |
1765 | 1781 |
| |
| 1782 | + | |
1766 | 1783 |
| |
1767 | 1784 |
| |
1768 | 1785 |
| |
| |||
1846 | 1863 |
| |
1847 | 1864 |
| |
1848 | 1865 |
| |
| 1866 | + | |
1849 | 1867 |
| |
1850 | 1868 |
| |
1851 | 1869 |
| |
| |||
1901 | 1919 |
| |
1902 | 1920 |
| |
1903 | 1921 |
| |
| 1922 | + | |
1904 | 1923 |
| |
1905 | 1924 |
| |
1906 | 1925 |
| |
| |||
1954 | 1973 |
| |
1955 | 1974 |
| |
1956 | 1975 |
| |
| 1976 | + | |
1957 | 1977 |
| |
1958 | 1978 |
| |
1959 | 1979 |
| |
| |||
2011 | 2031 |
| |
2012 | 2032 |
| |
2013 | 2033 |
| |
| 2034 | + | |
2014 | 2035 |
| |
2015 | 2036 |
| |
2016 | 2037 |
| |
| |||
2064 | 2085 |
| |
2065 | 2086 |
| |
2066 | 2087 |
| |
| 2088 | + | |
2067 | 2089 |
| |
2068 | 2090 |
| |
2069 | 2091 |
| |
| |||
2102 | 2124 |
| |
2103 | 2125 |
| |
2104 | 2126 |
| |
| 2127 | + | |
2105 | 2128 |
| |
2106 | 2129 |
| |
2107 | 2130 |
| |
| |||
2144 | 2167 |
| |
2145 | 2168 |
| |
2146 | 2169 |
| |
| 2170 | + | |
2147 | 2171 |
| |
2148 | 2172 |
| |
2149 | 2173 |
| |
| |||
2188 | 2212 |
| |
2189 | 2213 |
| |
2190 | 2214 |
| |
| 2215 | + | |
2191 | 2216 |
| |
2192 | 2217 |
| |
2193 | 2218 |
| |
| |||
2250 | 2275 |
| |
2251 | 2276 |
| |
2252 | 2277 |
| |
| 2278 | + | |
2253 | 2279 |
| |
2254 | 2280 |
| |
2255 | 2281 |
| |
| |||
2341 | 2367 |
| |
2342 | 2368 |
| |
2343 | 2369 |
| |
| 2370 | + | |
2344 | 2371 |
| |
2345 | 2372 |
| |
2346 | 2373 |
| |
| |||
2400 | 2427 |
| |
2401 | 2428 |
| |
2402 | 2429 |
| |
| 2430 | + | |
2403 | 2431 |
| |
2404 | 2432 |
| |
2405 | 2433 |
| |
| |||
2460 | 2488 |
| |
2461 | 2489 |
| |
2462 | 2490 |
| |
| 2491 | + | |
2463 | 2492 |
| |
2464 | 2493 |
| |
2465 | 2494 |
| |
| |||
2513 | 2542 |
| |
2514 | 2543 |
| |
2515 | 2544 |
| |
| 2545 | + | |
2516 | 2546 |
| |
2517 | 2547 |
| |
2518 | 2548 |
| |
| |||
2567 | 2597 |
| |
2568 | 2598 |
| |
2569 | 2599 |
| |
| 2600 | + | |
2570 | 2601 |
| |
2571 | 2602 |
| |
2572 | 2603 |
| |
|
You can’t perform that action at this time.
0 commit comments