CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 00:09:20 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/"015aa155c966a4b17ebd46fe1283c520"
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=bN%2Fo5L98YP2JxVOMs0Sp9K%2FRbcoe4Z4b2GOcCr%2Bj5R5GXrsLFpDpgbYkSZbXm8cxsIXexvBzsMX0X%2BVG4Kzjch5nJF3lYWnc%2FgSKYsBWGg5madS5LYcB0e0lHoeAygp85ZveBQ%2FBudYD%2Bszb8anQE%2BNVoEyvoAz27uYZCE0PQ7rGXc83gPeAfKgtTCfTW2rFhmPNiteoUg3%2B30CLfk1qnjWNGv%2FhrqcGnVjsx6WZc5bJLGhuWZfYMuM9ToGrdM94vs3GFS52C5tDg%2BZPgPKzrg%3D%3D--PUT0q58RlJS2fvV3--V2zKsU8rcM9HTRx1%2FhF4Qg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1127304691.1753402159; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:09:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:09:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8476:167D14:31348:4DEA4:6882CB2F
【Hackathon 6th No.28】为 paddle.round 进行功能增强 -part (#64436) · PaddlePaddle/Paddle@218e62d · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/activation_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/activation_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/activation_functor.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/activation_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/activation_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/op_version.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/ops.yaml
Copy file name to clipboardExpand all lines: python/paddle/tensor/ops.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_activation_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 218e62d
authored
【Hackathon 6th No.28】为 paddle.round 进行功能增强 -part (#64436)
* add decimals for round
* set defalut value
* fix
* fix round inplace
* add round inplace func
* empty
* fix round on onednn
* fix
* remove redundant comments
* re-run
* change calculation process
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix coverage
* add attr in yaml file1 parent 091044b commit 218e62dCopy full SHA for 218e62d
File tree
Expand file treeCollapse file tree
10 files changed
+150
-15
lines changedFilter options
- paddle/phi
- kernels
- cpu
- funcs
- gpu
- onednn
- ops/yaml
- python/paddle/tensor
- test/legacy_test
Expand file treeCollapse file tree
10 files changed
+150
-15
lines changedpaddle/phi/kernels/activation_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/activation_kernel.h+6-1Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
72 | 71 |
| |
73 | 72 |
| |
74 | 73 |
| |
| |||
98 | 97 |
| |
99 | 98 |
| |
100 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 |
| |
102 | 107 |
| |
103 | 108 |
| |
|
paddle/phi/kernels/cpu/activation_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/activation_kernel.cc+13-1Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
97 | 96 |
| |
98 | 97 |
| |
99 | 98 |
| |
| |||
161 | 160 |
| |
162 | 161 |
| |
163 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
164 | 176 |
| |
165 | 177 |
| |
166 | 178 |
| |
|
paddle/phi/kernels/funcs/activation_functor.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/activation_functor.h+31-2Lines changed: 31 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2949 | 2949 |
| |
2950 | 2950 |
| |
2951 | 2951 |
| |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
2952 | 2958 |
| |
2953 | 2959 |
| |
2954 |
| - | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
| 2968 | + | |
2955 | 2969 |
| |
2956 | 2970 |
| |
2957 | 2971 |
| |
| |||
5161 | 5175 |
| |
5162 | 5176 |
| |
5163 | 5177 |
| |
| 5178 | + | |
5164 | 5179 |
| |
| 5180 | + | |
| 5181 | + | |
| 5182 | + | |
5165 | 5183 |
| |
5166 | 5184 |
| |
5167 | 5185 |
| |
5168 |
| - | |
| 5186 | + | |
| 5187 | + | |
| 5188 | + | |
| 5189 | + | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
| 5197 | + | |
5169 | 5198 |
| |
5170 | 5199 |
| |
5171 | 5200 |
| |
|
paddle/phi/kernels/gpu/activation_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/activation_kernel.cu+13-1Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
114 | 113 |
| |
115 | 114 |
| |
116 | 115 |
| |
| |||
187 | 186 |
| |
188 | 187 |
| |
189 | 188 |
| |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
190 | 202 |
| |
191 | 203 |
| |
192 | 204 |
| |
|
paddle/phi/kernels/onednn/activation_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/activation_kernel.cc+24-2Lines changed: 24 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| |||
149 | 148 |
| |
150 | 149 |
| |
151 | 150 |
| |
152 |
| - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
153 | 175 |
| |
154 | 176 |
| |
155 | 177 |
| |
|
paddle/phi/ops/yaml/backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/backward.yaml+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2609 | 2609 |
| |
2610 | 2610 |
| |
2611 | 2611 |
| |
2612 |
| - | |
| 2612 | + | |
2613 | 2613 |
| |
2614 | 2614 |
| |
2615 | 2615 |
| |
|
paddle/phi/ops/yaml/op_version.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/op_version.yaml+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
497 | 505 |
| |
498 | 506 |
| |
499 | 507 |
| |
|
paddle/phi/ops/yaml/ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/ops.yaml+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3788 | 3788 |
| |
3789 | 3789 |
| |
3790 | 3790 |
| |
3791 |
| - | |
| 3791 | + | |
3792 | 3792 |
| |
3793 | 3793 |
| |
3794 | 3794 |
| |
| 3795 | + | |
3795 | 3796 |
| |
3796 | 3797 |
| |
3797 | 3798 |
| |
|
python/paddle/tensor/ops.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/ops.py+18-4Lines changed: 18 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
| |||
687 | 686 |
| |
688 | 687 |
| |
689 | 688 |
| |
690 |
| - | |
| 689 | + | |
691 | 690 |
| |
692 | 691 |
| |
693 | 692 |
| |
| |||
704 | 703 |
| |
705 | 704 |
| |
706 | 705 |
| |
| 706 | + | |
707 | 707 |
| |
708 | 708 |
| |
709 | 709 |
| |
| |||
721 | 721 |
| |
722 | 722 |
| |
723 | 723 |
| |
724 |
| - | |
| 724 | + | |
725 | 725 |
| |
726 | 726 |
| |
727 | 727 |
| |
728 | 728 |
| |
729 | 729 |
| |
| 730 | + | |
| 731 | + | |
| 732 | + | |
730 | 733 |
| |
731 |
| - | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
732 | 737 |
| |
733 | 738 |
| |
734 | 739 |
| |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
735 | 749 |
| |
736 | 750 |
| |
737 | 751 |
| |
|
test/legacy_test/test_activation_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_activation_op.py+34-2Lines changed: 34 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2593 | 2593 |
| |
2594 | 2594 |
| |
2595 | 2595 |
| |
| 2596 | + | |
2596 | 2597 |
| |
2597 | 2598 |
| |
2598 |
| - | |
2599 |
| - | |
| 2599 | + | |
| 2600 | + | |
2600 | 2601 |
| |
2601 | 2602 |
| |
2602 | 2603 |
| |
| 2604 | + | |
2603 | 2605 |
| |
2604 | 2606 |
| |
2605 | 2607 |
| |
2606 | 2608 |
| |
2607 | 2609 |
| |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
2608 | 2613 |
| |
2609 | 2614 |
| |
2610 | 2615 |
| |
| |||
2619 | 2624 |
| |
2620 | 2625 |
| |
2621 | 2626 |
| |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
| 2632 | + | |
| 2633 | + | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
2622 | 2654 |
| |
2623 | 2655 |
| |
2624 | 2656 |
| |
|
You can’t perform that action at this time.
0 commit comments