CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 03:41:23 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/"462e46b660c334477b3a6d5b2f47260a"
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=StllYoF4SQjUAykISc6oe7ECUlIzCXG2wp%2FFlXrD3FZvQkkqgqrsWg70Jz3AcBOrxjunS3t1ISzi6QVcDRrm4rPGpJKg5MKhbKtGEy1T8Kb5EecIJ5q4kEBGeA5Ag7W8x11CUNBfEvx2mwFo4DXeW%2FCyjHHO9zGDxucnkwPVrveUX9E5vvbSaDEWGyGxZu1Lt5u0hY1Il314XwDQ5GFvkwevUneMQCGAq9hRK4Kr%2Bj2rCKimAullQPCKapzWlIe9Qniweyc%2BHgYC3m92AxIFIA%3D%3D--0K1gGiP1mhSRIixX--nvhHWHx8PGLzwj%2F0Dr3L0g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1116199341.1753501283; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 03:41:23 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 03:41:23 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D27A:872F4:116CB5:1AD9B3:68844E63
【Hackathon 6th No. 27】为 paddle.io.RandomSampler/random_split /Layer.c… · PaddlePaddle/Paddle@366e87d · GitHub
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/dataset.py
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/sampler.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/layers.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_batch_sampler.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_dataloader_dataset.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_layers.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 366e87d
authored
【Hackathon 6th No. 27】为 paddle.io.RandomSampler/random_split /Layer.clear_gradients 进行功能增强 -part (#62966)
* update layers sampler and dataset
* update test
* update test
* revise randomsampler num_samples and test
* update error check
* update test
* update docs
* update docs1 parent 4ade81d commit 366e87dCopy full SHA for 366e87d
File tree
Expand file treeCollapse file tree
6 files changed
+101
-8
lines changedFilter options
- python/paddle
- io/dataloader
- nn/layer
- test/legacy_test
Expand file treeCollapse file tree
6 files changed
+101
-8
lines changedpython/paddle/io/dataloader/dataset.py
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/dataset.py+25-1Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
| |||
487 | 489 |
| |
488 | 490 |
| |
489 | 491 |
| |
490 |
| - | |
| 492 | + | |
491 | 493 |
| |
492 | 494 |
| |
493 | 495 |
| |
| |||
522 | 524 |
| |
523 | 525 |
| |
524 | 526 |
| |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
525 | 549 |
| |
526 | 550 |
| |
527 | 551 |
| |
|
python/paddle/io/dataloader/sampler.py
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/sampler.py+5-5Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
164 |
| - | |
| 163 | + | |
165 | 164 |
| |
166 | 165 |
| |
167 | 166 |
| |
| |||
212 | 211 |
| |
213 | 212 |
| |
214 | 213 |
| |
215 |
| - | |
| 214 | + | |
216 | 215 |
| |
217 |
| - | |
| 216 | + | |
| 217 | + | |
218 | 218 |
| |
219 | 219 |
| |
220 | 220 |
| |
| |||
246 | 246 |
| |
247 | 247 |
| |
248 | 248 |
| |
249 |
| - | |
| 249 | + | |
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
|
python/paddle/nn/layer/layers.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/layers.py+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1349 | 1349 |
| |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 |
| - | |
| 1352 | + | |
1353 | 1353 |
| |
1354 | 1354 |
| |
1355 | 1355 |
| |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
1356 | 1360 |
| |
1357 | 1361 |
| |
1358 | 1362 |
| |
| |||
1375 | 1379 |
| |
1376 | 1380 |
| |
1377 | 1381 |
| |
1378 |
| - | |
| 1382 | + | |
1379 | 1383 |
| |
1380 | 1384 |
| |
1381 | 1385 |
| |
|
test/legacy_test/test_batch_sampler.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_batch_sampler.py+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 |
| |
91 | 101 |
| |
92 | 102 |
| |
| |||
111 | 121 |
| |
112 | 122 |
| |
113 | 123 |
| |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
114 | 128 |
| |
115 | 129 |
| |
116 | 130 |
| |
|
test/legacy_test/test_dataloader_dataset.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_dataloader_dataset.py+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
92 | 121 |
| |
93 | 122 |
|
test/legacy_test/test_layers.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_layers.py+22Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2465 | 2465 |
| |
2466 | 2466 |
| |
2467 | 2467 |
| |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
| 2483 | + | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
| 2489 | + | |
2468 | 2490 |
| |
2469 | 2491 |
| |
2470 | 2492 |
|
You can’t perform that action at this time.
0 commit comments