CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 09:40:02 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/"5ae291b305df295ca594d603659d74ea"
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=on5XUsEtq1Xlqxb58tizwcVceoeVi79C%2BFMyrTuPDXNKLN0zh%2Ffx1FrRcRRbGse07IOsIdTCMGjacdoeci%2FCH6nLnSFooQchKS5JInXiu%2BiZSHEUTATThd9B4D520IunEe5kJFKsKqXENRpgkWAy9AGs9%2BbeTittRN4JlmbWwn32gp5GOucsS41DCoQNZ3AIRCEFbYlcQmoLnfrAptTPhYzv7nbHFLNNSK0VOBhvfPZfDNn35jLl0UUZhgby3Z4KPTJlgjZ5pDvW6Lvm5s3noQ%3D%3D--4ySQ0%2B1N3XU%2BXPLZ--2f8pY96679GTEFwTCeac5A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1670381460.1753436401; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:40:01 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 09:40:01 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DAB0:3140B2:66ED10:7AB9C9:688350F1
Normalize multi dim list in indexing (#56893) · PaddlePaddle/Paddle@6e17e66 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/base/variable_index.py
Copy file name to clipboardExpand all lines: test/indexing/test_getitem.py
Copy file name to clipboardExpand all lines: test/indexing/test_setitem.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_var_base.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_variable.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 6e17e66
File tree
Expand file treeCollapse file tree
5 files changed
+204
-51
lines changedFilter options
- python/paddle/base
- test
- indexing
- legacy_test
Expand file treeCollapse file tree
5 files changed
+204
-51
lines changedpython/paddle/base/variable_index.py
Copy file name to clipboardExpand all lines: python/paddle/base/variable_index.py+1-16Lines changed: 1 addition & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 | 44 |
| |
55 | 45 |
| |
56 | 46 |
| |
| |||
405 | 395 |
| |
406 | 396 |
| |
407 | 397 |
| |
408 |
| - | |
409 |
| - | |
410 |
| - | |
| 398 | + | |
411 | 399 |
| |
412 | 400 |
| |
413 | 401 |
| |
| |||
702 | 690 |
| |
703 | 691 |
| |
704 | 692 |
| |
705 |
| - | |
706 |
| - | |
707 |
| - | |
708 | 693 |
| |
709 | 694 |
| |
710 | 695 |
| |
|
test/indexing/test_getitem.py
Copy file name to clipboardExpand all lines: test/indexing/test_getitem.py+98Lines changed: 98 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
138 | 138 |
| |
139 | 139 |
| |
140 | 140 |
| |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
141 | 181 |
| |
142 | 182 |
| |
143 | 183 |
| |
| |||
334 | 374 |
| |
335 | 375 |
| |
336 | 376 |
| |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
337 | 435 |
| |
338 | 436 |
| |
339 | 437 |
| |
|
test/indexing/test_setitem.py
Copy file name to clipboardExpand all lines: test/indexing/test_setitem.py+93Lines changed: 93 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 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 | + | |
63 | 101 |
| |
64 | 102 |
| |
65 | 103 |
| |
| |||
162 | 200 |
| |
163 | 201 |
| |
164 | 202 |
| |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + |
test/legacy_test/test_var_base.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_var_base.py+4-14Lines changed: 4 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
991 | 991 |
| |
992 | 992 |
| |
993 | 993 |
| |
994 |
| - | |
995 |
| - | |
996 |
| - | |
997 |
| - | |
998 |
| - | |
999 |
| - | |
1000 |
| - | |
1001 |
| - | |
1002 |
| - | |
1003 |
| - | |
1004 |
| - | |
1005 |
| - | |
1006 | 994 |
| |
1007 |
| - | |
1008 |
| - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
1009 | 999 |
| |
1010 | 1000 |
| |
1011 | 1001 |
| |
|
test/legacy_test/test_variable.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_variable.py+8-21Lines changed: 8 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
585 | 585 |
| |
586 | 586 |
| |
587 | 587 |
| |
588 |
| - | |
589 |
| - | |
590 |
| - | |
591 |
| - | |
592 |
| - | |
593 |
| - | |
594 |
| - | |
595 |
| - | |
596 |
| - | |
597 |
| - | |
598 |
| - | |
599 |
| - | |
600 |
| - | |
601 | 588 |
| |
602 | 589 |
| |
603 | 590 |
| |
| |||
639 | 626 |
| |
640 | 627 |
| |
641 | 628 |
| |
642 |
| - | |
| 629 | + | |
643 | 630 |
| |
644 | 631 |
| |
645 | 632 |
| |
| |||
660 | 647 |
| |
661 | 648 |
| |
662 | 649 |
| |
663 |
| - | |
| 650 | + | |
664 | 651 |
| |
665 | 652 |
| |
666 | 653 |
| |
| |||
845 | 832 |
| |
846 | 833 |
| |
847 | 834 |
| |
848 |
| - | |
| 835 | + | |
849 | 836 |
| |
850 | 837 |
| |
851 | 838 |
| |
| |||
869 | 856 |
| |
870 | 857 |
| |
871 | 858 |
| |
872 |
| - | |
| 859 | + | |
873 | 860 |
| |
874 | 861 |
| |
875 | 862 |
| |
876 | 863 |
| |
877 |
| - | |
| 864 | + | |
878 | 865 |
| |
879 | 866 |
| |
880 | 867 |
| |
| |||
897 | 884 |
| |
898 | 885 |
| |
899 | 886 |
| |
900 |
| - | |
| 887 | + | |
901 | 888 |
| |
902 | 889 |
| |
903 | 890 |
| |
904 | 891 |
| |
905 |
| - | |
| 892 | + | |
906 | 893 |
| |
907 | 894 |
| |
908 | 895 |
| |
| |||
913 | 900 |
| |
914 | 901 |
| |
915 | 902 |
| |
916 |
| - | |
| 903 | + | |
917 | 904 |
| |
918 | 905 |
| |
919 | 906 |
| |
|
You can’t perform that action at this time.
0 commit comments