CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 00:17:08 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/"e4bb94997f23cda56e89f33db8a1fcca"
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=IJWeg2PB81yeSpCA8UZTkj9Kur0NhtdQh02lwmqLyyOAWda5CL66QkIeBi4lYT1eCVWiziB6nVIohTk%2B5eeDFcTJMmRtR4rdBp5T3iimE2zIdwixHaeFDS2KyDOTr4B8ZTTot27Bt6RxAr%2F6kw5jItaUk%2FHkYoy6h%2BvrU%2BRnpE3DPJO7xx3XTyXLcXSFtxXIj%2Bv2vbXmUYMGLPgbVT3zl7wIMIlEW4Izh%2Fs7xther%2Fra0R6FDgaAyt7zzBmIWeC7Lq1RMtfSDYSVezA67y7yKg%3D%3D--Zb15IAPVSYWkceEl--1cx26JHdLVz9ioVXi5b02g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1092813665.1753402628; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:17:08 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:17:08 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BF50:3C8B80:3A507:5B18D:6882CD04
[Typing][A-98] Add type annotations for datasets (#65779) · PaddlePaddle/Paddle@d9fee48 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/dataset.py
Copy file name to clipboardExpand all lines: python/paddle/vision/datasets/cifar.py
Copy file name to clipboardExpand all lines: python/paddle/vision/datasets/flowers.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit d9fee48
File tree
Expand file treeCollapse file tree
5 files changed
+82
-55
lines changedFilter options
- python/paddle
- io/dataloader
- vision/datasets
Expand file treeCollapse file tree
5 files changed
+82
-55
lines changedpython/paddle/io/dataloader/dataset.py
Copy file name to clipboardExpand all lines: python/paddle/io/dataloader/dataset.py+70-41Lines changed: 70 additions & 41 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
16 | 18 |
| |
17 | 19 |
| |
18 |
| - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
19 | 34 |
| |
20 | 35 |
| |
21 | 36 |
| |
22 | 37 |
| |
23 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
24 | 45 |
| |
25 |
| - | |
| 46 | + | |
26 | 47 |
| |
27 | 48 |
| |
28 | 49 |
| |
| |||
64 | 85 |
| |
65 | 86 |
| |
66 | 87 |
| |
67 |
| - | |
| 88 | + | |
68 | 89 |
| |
69 | 90 |
| |
70 |
| - | |
| 91 | + | |
71 | 92 |
| |
72 | 93 |
| |
73 | 94 |
| |
74 | 95 |
| |
75 | 96 |
| |
76 |
| - | |
| 97 | + | |
77 | 98 |
| |
78 | 99 |
| |
79 | 100 |
| |
80 | 101 |
| |
81 | 102 |
| |
82 | 103 |
| |
83 |
| - | |
| 104 | + | |
84 | 105 |
| |
85 | 106 |
| |
86 | 107 |
| |
| |||
241 | 262 |
| |
242 | 263 |
| |
243 | 264 |
| |
244 |
| - | |
| 265 | + | |
245 | 266 |
| |
246 | 267 |
| |
247 |
| - | |
| 268 | + | |
248 | 269 |
| |
249 | 270 |
| |
250 | 271 |
| |
251 | 272 |
| |
252 | 273 |
| |
253 |
| - | |
| 274 | + | |
254 | 275 |
| |
255 | 276 |
| |
256 | 277 |
| |
257 | 278 |
| |
258 | 279 |
| |
259 |
| - | |
| 280 | + | |
260 | 281 |
| |
261 | 282 |
| |
262 | 283 |
| |
263 | 284 |
| |
264 | 285 |
| |
265 | 286 |
| |
266 |
| - | |
| 287 | + | |
267 | 288 |
| |
268 | 289 |
| |
269 | 290 |
| |
| |||
298 | 319 |
| |
299 | 320 |
| |
300 | 321 |
| |
301 |
| - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
302 | 325 |
| |
303 | 326 |
| |
304 | 327 |
| |
| |||
308 | 331 |
| |
309 | 332 |
| |
310 | 333 |
| |
311 |
| - | |
| 334 | + | |
312 | 335 |
| |
313 | 336 |
| |
314 |
| - | |
| 337 | + | |
315 | 338 |
| |
316 | 339 |
| |
317 | 340 |
| |
| |||
323 | 346 |
| |
324 | 347 |
| |
325 | 348 |
| |
326 |
| - | |
| 349 | + | |
327 | 350 |
| |
328 | 351 |
| |
329 | 352 |
| |
| |||
344 | 367 |
| |
345 | 368 |
| |
346 | 369 |
| |
347 |
| - | |
348 | 370 |
| |
349 |
| - | |
| 371 | + | |
350 | 372 |
| |
351 | 373 |
| |
352 | 374 |
| |
| |||
358 | 380 |
| |
359 | 381 |
| |
360 | 382 |
| |
361 |
| - | |
| 383 | + | |
362 | 384 |
| |
363 | 385 |
| |
364 | 386 |
| |
365 | 387 |
| |
366 | 388 |
| |
367 |
| - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
368 | 392 |
| |
369 | 393 |
| |
370 | 394 |
| |
| |||
379 | 403 |
| |
380 | 404 |
| |
381 | 405 |
| |
382 |
| - | |
| 406 | + | |
383 | 407 |
| |
384 | 408 |
| |
385 |
| - | |
| 409 | + | |
386 | 410 |
| |
387 | 411 |
| |
388 | 412 |
| |
389 | 413 |
| |
390 | 414 |
| |
391 | 415 |
| |
392 |
| - | |
| 416 | + | |
393 | 417 |
| |
394 | 418 |
| |
395 | 419 |
| |
| |||
429 | 453 |
| |
430 | 454 |
| |
431 | 455 |
| |
432 |
| - | |
| 456 | + | |
433 | 457 |
| |
434 | 458 |
| |
435 | 459 |
| |
436 | 460 |
| |
437 | 461 |
| |
438 | 462 |
| |
439 | 463 |
| |
440 |
| - | |
| 464 | + | |
441 | 465 |
| |
442 | 466 |
| |
443 | 467 |
| |
444 | 468 |
| |
445 |
| - | |
| 469 | + | |
446 | 470 |
| |
447 | 471 |
| |
448 | 472 |
| |
| |||
471 | 495 |
| |
472 | 496 |
| |
473 | 497 |
| |
474 |
| - | |
| 498 | + | |
475 | 499 |
| |
476 | 500 |
| |
477 | 501 |
| |
478 |
| - | |
| 502 | + | |
479 | 503 |
| |
480 | 504 |
| |
481 |
| - | |
| 505 | + | |
482 | 506 |
| |
483 | 507 |
| |
484 | 508 |
| |
485 |
| - | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
486 | 514 |
| |
487 | 515 |
| |
488 | 516 |
| |
| |||
502 | 530 |
| |
503 | 531 |
| |
504 | 532 |
| |
505 |
| - | |
| 533 | + | |
506 | 534 |
| |
507 | 535 |
| |
508 | 536 |
| |
509 | 537 |
| |
510 |
| - | |
| 538 | + | |
511 | 539 |
| |
512 | 540 |
| |
513 | 541 |
| |
514 | 542 |
| |
515 | 543 |
| |
516 | 544 |
| |
517 |
| - | |
| 545 | + | |
518 | 546 |
| |
519 | 547 |
| |
520 | 548 |
| |
| |||
560 | 588 |
| |
561 | 589 |
| |
562 | 590 |
| |
563 |
| - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
564 | 594 |
| |
565 | 595 |
| |
566 | 596 |
| |
| |||
595 | 625 |
| |
596 | 626 |
| |
597 | 627 |
| |
598 |
| - | |
| 628 | + | |
599 | 629 |
| |
600 | 630 |
| |
601 | 631 |
| |
| |||
615 | 645 |
| |
616 | 646 |
| |
617 | 647 |
| |
618 |
| - | |
619 | 648 |
| |
620 |
| - | |
| 649 | + | |
621 | 650 |
| |
622 | 651 |
| |
623 | 652 |
| |
| |||
629 | 658 |
| |
630 | 659 |
| |
631 | 660 |
| |
632 |
| - | |
| 661 | + | |
633 | 662 |
| |
634 | 663 |
| |
635 | 664 |
| |
636 | 665 |
| |
637 | 666 |
| |
638 | 667 |
| |
639 |
| - | |
| 668 | + | |
640 | 669 |
| |
641 | 670 |
| |
642 | 671 |
| |
643 | 672 |
| |
644 | 673 |
| |
645 | 674 |
| |
646 | 675 |
| |
647 |
| - | |
| 676 | + | |
648 | 677 |
| |
649 | 678 |
| |
650 | 679 |
| |
| |||
655 | 684 |
| |
656 | 685 |
| |
657 | 686 |
| |
658 |
| - | |
| 687 | + | |
659 | 688 |
| |
660 | 689 |
| |
661 |
| - | |
| 690 | + | |
662 | 691 |
| |
663 | 692 |
| |
664 | 693 |
| |
|
python/paddle/vision/datasets/cifar.py
Copy file name to clipboardExpand all lines: python/paddle/vision/datasets/cifar.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
|
python/paddle/vision/datasets/flowers.py
Copy file name to clipboardExpand all lines: python/paddle/vision/datasets/flowers.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
You can’t perform that action at this time.
0 commit comments