CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 01:42:53 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/"52474d350fd09de28af57397ea7dfb12"
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=5Z2oLLQbs0xAbL0IRii389Edc1XSVBtoSQitJBQhcA023n6ScCJP7FfHX%2Bt9DCaty1EsfvKm7uycEGfwBOcQZq0dGlHEazQlxCvXeRISo6FqyF06JCb85q0Vkwomzd6ZxParhXCNlrivYIKlnsdDvacjE%2Bo5ZH0TJICXLlQ3uNEeVzifqvfpGvjQN%2F94lk1r9sB0bg9pujhYuf%2B985KjA4TpAidc%2BiQEzLyxyyuy4BSOjHoH%2BmQmFiTmlsdd0jxHxoMcZ1LhOrvq67QToL3SaA%3D%3D--4hCoGtj32ZM5ih9S--m1N7VwAK1b%2BPS8jrueMJYg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1476953195.1753666972; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 01:42:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 01:42:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: ACD8:1AFF47:128F9F5:18A1318:6886D59C
[Typing][A-21,A-62] Add type annotations for `paddle/nn/{layer,functi… · PaddlePaddle/Paddle@365fbd1 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/activation.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/conv.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/norm.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/vision.py
Copy file name to clipboardExpand all lines: python/paddle/nn/initializer/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/nn/initializer/initializer.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/activation.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/container.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/distance.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/layers.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 365fbd1
File tree
Expand file treeCollapse file tree
15 files changed
+342
-264
lines changedFilter options
- python/paddle/nn
- functional
- initializer
- layer
Expand file treeCollapse file tree
15 files changed
+342
-264
lines changedpython/paddle/nn/functional/activation.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/activation.py+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 | 19 |
| |
23 | 20 |
| |
24 |
| - | |
25 | 21 |
| |
26 | 22 |
| |
27 | 23 |
| |
| |||
32 | 28 |
| |
33 | 29 |
| |
34 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
python/paddle/nn/functional/conv.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/conv.py+17-16Lines changed: 17 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 | 19 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 20 |
| |
37 | 21 |
| |
38 | 22 |
| |
| |||
55 | 39 |
| |
56 | 40 |
| |
57 | 41 |
| |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
|
python/paddle/nn/functional/norm.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/norm.py+78-49Lines changed: 78 additions & 49 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
15 | 17 |
| |
| 18 | + | |
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
| |||
25 | 28 |
| |
26 | 29 |
| |
27 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
28 | 40 |
| |
29 | 41 |
| |
30 | 42 |
| |
31 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
32 | 50 |
| |
33 | 51 |
| |
34 | 52 |
| |
| |||
47 | 65 |
| |
48 | 66 |
| |
49 | 67 |
| |
50 |
| - | |
| 68 | + | |
51 | 69 |
| |
52 | 70 |
| |
53 | 71 |
| |
| |||
120 | 138 |
| |
121 | 139 |
| |
122 | 140 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
134 | 152 |
| |
135 | 153 |
| |
136 | 154 |
| |
| |||
147 | 165 |
| |
148 | 166 |
| |
149 | 167 |
| |
150 |
| - | |
| 168 | + | |
151 | 169 |
| |
152 | 170 |
| |
153 | 171 |
| |
| |||
297 | 315 |
| |
298 | 316 |
| |
299 | 317 |
| |
300 |
| - | |
301 |
| - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
302 | 325 |
| |
303 | 326 |
| |
304 | 327 |
| |
| |||
413 | 436 |
| |
414 | 437 |
| |
415 | 438 |
| |
416 |
| - | |
417 |
| - | |
418 |
| - | |
419 |
| - | |
420 |
| - | |
421 |
| - | |
422 |
| - | |
423 |
| - | |
424 |
| - | |
425 |
| - | |
426 |
| - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
427 | 450 |
| |
428 | 451 |
| |
429 | 452 |
| |
430 | 453 |
| |
431 |
| - | |
432 |
| - | |
433 |
| - | |
434 |
| - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
435 | 458 |
| |
436 |
| - | |
| 459 | + | |
437 | 460 |
| |
438 |
| - | |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 |
| - | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
443 | 466 |
| |
444 | 467 |
| |
445 | 468 |
| |
| |||
509 | 532 |
| |
510 | 533 |
| |
511 | 534 |
| |
512 |
| - | |
513 |
| - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
514 | 543 |
| |
515 | 544 |
| |
516 | 545 |
| |
| |||
543 | 572 |
| |
544 | 573 |
| |
545 | 574 |
| |
546 |
| - | |
| 575 | + | |
547 | 576 |
| |
548 | 577 |
| |
549 | 578 |
| |
| |||
641 | 670 |
| |
642 | 671 |
| |
643 | 672 |
| |
644 |
| - | |
645 |
| - | |
646 |
| - | |
647 |
| - | |
648 |
| - | |
649 |
| - | |
650 |
| - | |
651 |
| - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
652 | 681 |
| |
653 | 682 |
| |
654 | 683 |
| |
| |||
663 | 692 |
| |
664 | 693 |
| |
665 | 694 |
| |
666 |
| - | |
| 695 | + | |
667 | 696 |
| |
668 | 697 |
| |
669 | 698 |
| |
|
python/paddle/nn/functional/vision.py
Copy file name to clipboardExpand all lines: python/paddle/nn/functional/vision.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
| |||
32 | 31 |
| |
33 | 32 |
| |
34 | 33 |
| |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
|
python/paddle/nn/initializer/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/nn/initializer/__init__.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
python/paddle/nn/initializer/initializer.py
Copy file name to clipboardExpand all lines: python/paddle/nn/initializer/initializer.py+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 | 24 |
| |
27 | 25 |
| |
28 | 26 |
| |
| |||
31 | 29 |
| |
32 | 30 |
| |
33 | 31 |
| |
| 32 | + | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
python/paddle/nn/layer/activation.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/activation.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
python/paddle/nn/layer/container.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/container.py+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 | 24 |
| |
27 | 25 |
| |
28 | 26 |
| |
29 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
|
python/paddle/nn/layer/distance.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/distance.py+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
|
python/paddle/nn/layer/layers.py
Copy file name to clipboardExpand all lines: python/paddle/nn/layer/layers.py+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 | 31 |
| |
33 | 32 |
| |
| |||
56 | 55 |
| |
57 | 56 |
| |
58 | 57 |
| |
59 |
| - | |
| 58 | + | |
60 | 59 |
| |
61 | 60 |
| |
62 | 61 |
| |
|
You can’t perform that action at this time.
0 commit comments