CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 03:26:25 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/"e4a9ac4ea75e3c4b979f48a4f4ca0671"
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=75%2B5S%2B7bspTW%2BbdJEZEyLJERg6zFJjPXrnccOxQV%2B%2BR4zc%2FWDAa2PhinrymfU5SLRGpECb%2F93xEgJDzRpLf1vWrVTxg%2FyiVtMAeeXRp0PgPc7MyyC5yN%2FdlCtYCrIbPpgqnFUa%2Fmp8IvYGNd4%2BE7KKKxT4koWTR8cA1ShkCwjwKnhNTMNjSQ69Vkchkyr%2FrRMGcSDN37bv8ixr%2FtGPwvtjV2urFOD%2FJHTi7j6cYYNEy%2FLSG2YY95mdOtrH2PPc9ipr5G%2BQq%2FwM6iCvUOlco5rw%3D%3D--p4Z25GwmIFfTpHj7--r8SFOC7D7w3VKc0OY%2Fgv7w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.12914242.1753586784; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 03:26:24 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 03:26:24 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9678:7ADB8:E31D5:164281:68859C60
[Typing][B-79,B-80,B-81] Add type annotations for `python/paddle/prof… · PaddlePaddle/Paddle@3a58f35 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/profiler/profiler.py
Copy file name to clipboardExpand all lines: python/paddle/profiler/utils.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 3a58f35
File tree
Expand file treeCollapse file tree
2 files changed
+70
-33
lines changedFilter options
- python/paddle/profiler
Expand file treeCollapse file tree
2 files changed
+70
-33
lines changedpython/paddle/profiler/profiler.py
Copy file name to clipboardExpand all lines: python/paddle/profiler/profiler.py+56-27Lines changed: 56 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 |
| |
49 | 54 |
| |
50 | 55 |
| |
| |||
128 | 133 |
| |
129 | 134 |
| |
130 | 135 |
| |
131 |
| - | |
| 136 | + | |
132 | 137 |
| |
133 | 138 |
| |
134 | 139 |
| |
| |||
221 | 226 |
| |
222 | 227 |
| |
223 | 228 |
| |
224 |
| - | |
| 229 | + | |
225 | 230 |
| |
226 | 231 |
| |
227 | 232 |
| |
| |||
272 | 277 |
| |
273 | 278 |
| |
274 | 279 |
| |
275 |
| - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
276 | 283 |
| |
277 | 284 |
| |
278 | 285 |
| |
| |||
478 | 485 |
| |
479 | 486 |
| |
480 | 487 |
| |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
481 | 503 |
| |
482 | 504 |
| |
483 | 505 |
| |
484 | 506 |
| |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 |
| - | |
492 |
| - | |
493 |
| - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
494 | 518 |
| |
495 | 519 |
| |
496 | 520 |
| |
| |||
553 | 577 |
| |
554 | 578 |
| |
555 | 579 |
| |
556 |
| - | |
| 580 | + | |
557 | 581 |
| |
558 | 582 |
| |
559 | 583 |
| |
560 |
| - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
561 | 590 |
| |
562 | 591 |
| |
563 |
| - | |
| 592 | + | |
564 | 593 |
| |
565 | 594 |
| |
566 | 595 |
| |
| |||
609 | 638 |
| |
610 | 639 |
| |
611 | 640 |
| |
612 |
| - | |
| 641 | + | |
613 | 642 |
| |
614 | 643 |
| |
615 | 644 |
| |
| |||
659 | 688 |
| |
660 | 689 |
| |
661 | 690 |
| |
662 |
| - | |
| 691 | + | |
663 | 692 |
| |
664 | 693 |
| |
665 | 694 |
| |
| |||
703 | 732 |
| |
704 | 733 |
| |
705 | 734 |
| |
706 |
| - | |
| 735 | + | |
707 | 736 |
| |
708 | 737 |
| |
709 | 738 |
| |
| |||
821 | 850 |
| |
822 | 851 |
| |
823 | 852 |
| |
824 |
| - | |
| 853 | + | |
825 | 854 |
| |
826 | 855 |
| |
827 | 856 |
| |
| |||
853 | 882 |
| |
854 | 883 |
| |
855 | 884 |
| |
856 |
| - | |
857 |
| - | |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
862 | 891 |
| |
863 | 892 |
| |
864 | 893 |
| |
865 | 894 |
| |
866 | 895 |
| |
867 | 896 |
| |
868 | 897 |
| |
869 |
| - | |
| 898 | + | |
870 | 899 |
| |
871 | 900 |
| |
872 | 901 |
| |
|
python/paddle/profiler/utils.py
Copy file name to clipboardExpand all lines: python/paddle/profiler/utils.py+14-6Lines changed: 14 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 |
| |
30 | 34 |
| |
31 | 35 |
| |
| |||
74 | 78 |
| |
75 | 79 |
| |
76 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
77 | 85 |
| |
78 | 86 |
| |
79 | 87 |
| |
80 | 88 |
| |
81 |
| - | |
| 89 | + | |
82 | 90 |
| |
83 | 91 |
| |
84 | 92 |
| |
85 | 93 |
| |
86 |
| - | |
| 94 | + | |
87 | 95 |
| |
88 | 96 |
| |
89 | 97 |
| |
| |||
92 | 100 |
| |
93 | 101 |
| |
94 | 102 |
| |
95 |
| - | |
| 103 | + | |
96 | 104 |
| |
97 | 105 |
| |
98 |
| - | |
| 106 | + | |
99 | 107 |
| |
100 | 108 |
| |
101 | 109 |
| |
| |||
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
130 |
| - | |
| 138 | + | |
131 | 139 |
| |
132 | 140 |
| |
133 | 141 |
| |
| |||
150 | 158 |
| |
151 | 159 |
| |
152 | 160 |
| |
153 |
| - | |
| 161 | + | |
154 | 162 |
| |
155 | 163 |
| |
156 | 164 |
| |
|
You can’t perform that action at this time.
0 commit comments