CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 03:45:29 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/"fe818eb984214164646d8ba53dec47a0"
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=eJBgK471AVvuRZ2fvVVHZvmnWiPn2%2Bl8jQLJbvbZn72%2BaGJ0NNOwiD2jXdRFDb%2FWi5pbJuDbNTR1mVmR0WuICRwUCCfVcKIGIiOIa0ix9YxFffwkqwK%2F7RbwWi71zm2oOMJm3VrJbnyngi0OvjHfNtF9YkHWcN1Dn03vYGfu9aB693GubKhSoTzdSzPQ851tDtGDhD0rABpMCv9DT%2FSz3ylJSE2Iwb1FlCVyR2W0qCuBG%2F8zD7VgsXARI3ETFx%2FGCrtuAX%2BppTHQTsFJijfxCg%3D%3D--s1X0DwWav6wb3cDk--MxHx9Y0L3EbvGSNH0R5U%2BA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.516415760.1753933528; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 03:45:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 03:45:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B41E:23875B:1DA779:2BBAFE:688AE6D8
function setitem support with stride (#57023) · PaddlePaddle/Paddle@b9673f6 · 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/legacy_test/test_set_value_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit b9673f6
File tree
Expand file treeCollapse file tree
3 files changed
+111
-42
lines changedFilter options
- python/paddle/base
- test
- indexing
- legacy_test
Expand file treeCollapse file tree
3 files changed
+111
-42
lines changedpython/paddle/base/variable_index.py
Copy file name to clipboardExpand all lines: python/paddle/base/variable_index.py+48-40Lines changed: 48 additions & 40 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
| |
22 | 23 |
| |
23 | 24 |
| |
| |||
854 | 855 |
| |
855 | 856 |
| |
856 | 857 |
| |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
857 | 864 |
| |
858 |
| - | |
859 |
| - | |
860 |
| - | |
| 865 | + | |
| 866 | + | |
861 | 867 |
| |
| 868 | + | |
862 | 869 |
| |
863 |
| - | |
| 870 | + | |
| 871 | + | |
864 | 872 |
| |
865 | 873 |
| |
866 |
| - | |
| 874 | + | |
| 875 | + | |
867 | 876 |
| |
868 | 877 |
| |
869 | 878 |
| |
| |||
884 | 893 |
| |
885 | 894 |
| |
886 | 895 |
| |
| 896 | + | |
| 897 | + | |
887 | 898 |
| |
888 | 899 |
| |
889 | 900 |
| |
| |||
894 | 905 |
| |
895 | 906 |
| |
896 | 907 |
| |
897 |
| - | |
898 |
| - | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
899 | 916 |
| |
900 | 917 |
| |
901 | 918 |
| |
| |||
909 | 926 |
| |
910 | 927 |
| |
911 | 928 |
| |
912 |
| - | |
913 |
| - | |
914 |
| - | |
915 |
| - | |
916 |
| - | |
917 |
| - | |
918 |
| - | |
919 |
| - | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
920 | 937 |
| |
921 |
| - | |
922 | 938 |
| |
923 | 939 |
| |
924 | 940 |
| |
925 | 941 |
| |
926 |
| - | |
| 942 | + | |
927 | 943 |
| |
928 | 944 |
| |
929 | 945 |
| |
| |||
950 | 966 |
| |
951 | 967 |
| |
952 | 968 |
| |
953 |
| - | |
954 |
| - | |
955 |
| - | |
956 | 969 |
| |
957 |
| - | |
958 |
| - | |
959 |
| - | |
960 | 970 |
| |
961 |
| - | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
962 | 974 |
| |
963 | 975 |
| |
964 | 976 |
| |
965 | 977 |
| |
966 | 978 |
| |
967 |
| - | |
| 979 | + | |
| 980 | + | |
968 | 981 |
| |
969 |
| - | |
970 |
| - | |
971 |
| - | |
972 |
| - | |
973 |
| - | |
974 | 982 |
| |
975 | 983 |
| |
976 | 984 |
| |
| |||
983 | 991 |
| |
984 | 992 |
| |
985 | 993 |
| |
986 |
| - | |
987 |
| - | |
988 |
| - | |
989 |
| - | |
990 |
| - | |
991 |
| - | |
992 |
| - | |
993 |
| - | |
994 |
| - | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
995 | 1003 |
| |
996 | 1004 |
| |
997 | 1005 |
| |
998 | 1006 |
| |
999 |
| - | |
| 1007 | + | |
1000 | 1008 |
| |
1001 | 1009 |
| |
1002 | 1010 |
| |
|
test/indexing/test_getitem.py
Copy file name to clipboardExpand all lines: test/indexing/test_getitem.py+61Lines changed: 61 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
433 | 433 |
| |
434 | 434 |
| |
435 | 435 |
| |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
436 | 497 |
| |
437 | 498 |
| |
438 | 499 |
| |
|
test/legacy_test/test_set_value_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_set_value_op.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1878 | 1878 |
| |
1879 | 1879 |
| |
1880 | 1880 |
| |
1881 |
| - | |
| 1881 | + | |
1882 | 1882 |
| |
1883 | 1883 |
| |
1884 | 1884 |
| |
1885 | 1885 |
| |
1886 | 1886 |
| |
1887 |
| - | |
| 1887 | + | |
1888 | 1888 |
| |
1889 | 1889 |
| |
1890 | 1890 |
| |
|
You can’t perform that action at this time.
0 commit comments