CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 04:11:43 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
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/
referrer-policy: no-referrer-when-downgrade
server-timing: repo_layout-fragment;desc="repo_layout fragment";dur=707.062129,commit_show_contents-fragment;desc="commit_show_contents fragment";dur=65.612076,commit_show_header-fragment;desc="commit_show_header fragment";dur=57.505582,nginx;desc="NGINX";dur=1.163613,glb;desc="GLB";dur=102.495527
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
x-voltron-version: a2eb102
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Bn1dnG3%2FMKxm1VfvHl1ZQJpEidWO7G1EBRjDpxzMwwqVmgK66kMUm3n3Xot87Qwmk8Yc7nwPDUZHdvbYqDVF%2Bp8vPfMH5JFKAyGJCrkoF3O7RymnlUxeyVNHkxcjj%2B5ixZ0ApHGMKZSLf%2BrsEqAW510xbosXmx%2BhF%2FtSK36tebGlhU5YQQadZTOsF85E%2BOkfAD0GsVRUVqRTeRvRmPJdqSj%2Fw21h%2FddmH52BvHon9pcmToWVmFt6BYszMGZ7xyIHiveCR3thCYjmX2wIx1CUcg%3D%3D--aoXMi8%2Fkxr8oWOEZ--py6Uw1HOmD1AG6VRvJNQSA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.926185802.1753416702; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 04:11:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 04:11:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9C8A:2C1B9F:168861:201033:688303FE
[Typing][B-50,B-51] Add type annotations for `python/paddle/static/{i… · PaddlePaddle/Paddle@09cedfa · GitHub
Copy file name to clipboardExpand all lines: python/paddle/static/input.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 09cedfa
authored
[Typing][B-50,B-51] Add type annotations for
* [Typing][B-51] Add type annotations for python/paddle/static/io.py
* [Typing][B-50] Add type annotations for python/paddle/static/input.py
* apply review
* fix
* add type ignorepython/paddle/static/{io,input.py}
(#67047)1 parent b767b9d commit 09cedfaCopy full SHA for 09cedfa
Expand file treeCollapse file tree
2 files changed
+142
-33
lines changedpython/paddle/static/input.py
Copy file name to clipboardExpand all lines: python/paddle/static/input.py+12-2Lines changed: 12 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 |
| |
45 | 51 |
| |
46 | 52 |
| |
| |||
419 | 425 |
| |
420 | 426 |
| |
421 | 427 |
| |
422 |
| - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
423 | 433 |
| |
424 | 434 |
| |
425 | 435 |
| |
|
+130-31Lines changed: 130 additions & 31 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
| |||
69 | 71 |
| |
70 | 72 |
| |
71 | 73 |
| |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
72 | 105 |
| |
73 | 106 |
| |
74 | 107 |
| |
| |||
98 | 131 |
| |
99 | 132 |
| |
100 | 133 |
| |
101 |
| - | |
102 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
103 | 138 |
| |
104 | 139 |
| |
105 | 140 |
| |
| |||
127 | 162 |
| |
128 | 163 |
| |
129 | 164 |
| |
130 |
| - | |
131 |
| - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
132 | 169 |
| |
133 | 170 |
| |
134 | 171 |
| |
| |||
145 | 182 |
| |
146 | 183 |
| |
147 | 184 |
| |
148 |
| - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
149 | 191 |
| |
150 | 192 |
| |
151 | 193 |
| |
| |||
267 | 309 |
| |
268 | 310 |
| |
269 | 311 |
| |
270 |
| - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
271 | 317 |
| |
272 | 318 |
| |
273 | 319 |
| |
| |||
319 | 365 |
| |
320 | 366 |
| |
321 | 367 |
| |
322 |
| - | |
| 368 | + | |
323 | 369 |
| |
324 | 370 |
| |
325 | 371 |
| |
326 | 372 |
| |
327 | 373 |
| |
328 | 374 |
| |
329 | 375 |
| |
330 |
| - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
331 | 382 |
| |
332 | 383 |
| |
333 | 384 |
| |
| |||
378 | 429 |
| |
379 | 430 |
| |
380 | 431 |
| |
381 |
| - | |
| 432 | + | |
382 | 433 |
| |
383 | 434 |
| |
384 | 435 |
| |
| |||
425 | 476 |
| |
426 | 477 |
| |
427 | 478 |
| |
428 |
| - | |
| 479 | + | |
429 | 480 |
| |
430 | 481 |
| |
431 | 482 |
| |
| |||
467 | 518 |
| |
468 | 519 |
| |
469 | 520 |
| |
470 |
| - | |
471 |
| - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
472 | 527 |
| |
473 | 528 |
| |
474 | 529 |
| |
| |||
594 | 649 |
| |
595 | 650 |
| |
596 | 651 |
| |
597 |
| - | |
| 652 | + | |
598 | 653 |
| |
599 | 654 |
| |
600 | 655 |
| |
| |||
641 | 696 |
| |
642 | 697 |
| |
643 | 698 |
| |
644 |
| - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
645 | 702 |
| |
646 | 703 |
| |
647 | 704 |
| |
| |||
742 | 799 |
| |
743 | 800 |
| |
744 | 801 |
| |
745 |
| - | |
| 802 | + | |
746 | 803 |
| |
747 | 804 |
| |
748 | 805 |
| |
| |||
784 | 841 |
| |
785 | 842 |
| |
786 | 843 |
| |
787 |
| - | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
788 | 849 |
| |
789 | 850 |
| |
790 | 851 |
| |
| |||
838 | 899 |
| |
839 | 900 |
| |
840 | 901 |
| |
841 |
| - | |
842 |
| - | |
843 |
| - | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
844 | 905 |
| |
845 | 906 |
| |
846 | 907 |
| |
| |||
979 | 1040 |
| |
980 | 1041 |
| |
981 | 1042 |
| |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
982 | 1067 |
| |
983 | 1068 |
| |
984 | 1069 |
| |
| |||
1145 | 1230 |
| |
1146 | 1231 |
| |
1147 | 1232 |
| |
1148 |
| - | |
1149 |
| - | |
1150 |
| - | |
1151 |
| - | |
1152 |
| - | |
1153 |
| - | |
1154 |
| - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
1155 | 1240 |
| |
1156 | 1241 |
| |
1157 | 1242 |
| |
| |||
1403 | 1488 |
| |
1404 | 1489 |
| |
1405 | 1490 |
| |
1406 |
| - | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
1407 | 1497 |
| |
1408 | 1498 |
| |
1409 | 1499 |
| |
| |||
1504 | 1594 |
| |
1505 | 1595 |
| |
1506 | 1596 |
| |
1507 |
| - | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
1508 | 1603 |
| |
1509 | 1604 |
| |
1510 | 1605 |
| |
| |||
1721 | 1816 |
| |
1722 | 1817 |
| |
1723 | 1818 |
| |
1724 |
| - | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
1725 | 1822 |
| |
1726 | 1823 |
| |
1727 | 1824 |
| |
| |||
1818 | 1915 |
| |
1819 | 1916 |
| |
1820 | 1917 |
| |
1821 |
| - | |
| 1918 | + | |
1822 | 1919 |
| |
1823 | 1920 |
| |
1824 | 1921 |
| |
| |||
1839 | 1936 |
| |
1840 | 1937 |
| |
1841 | 1938 |
| |
1842 |
| - | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
1843 | 1942 |
| |
1844 | 1943 |
| |
1845 | 1944 |
| |
|
You can’t perform that action at this time.
0 commit comments