CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 16:33:50 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/"e8584c3f1b1ccde01bb89af8e25dbab8"
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=IRpEM%2FGY8mwx9Dbw%2FcCS63wb83JecFh3WSe1S0qSFpxVor8uVmJlsjep%2FFwSVBOPX81MY1%2Biypt7MGaIyfO0vHWE72sNxGAOsdA7KZYUaDvEdM616%2F4dJUDQmugZLm6WcFJEzD%2Fx48%2F95D2u%2FBHhYOvB5cJu1mrPBy%2FWRXKOl9Re7zwOObuh3HuSYUPPo8kEu5N3k4VgpAP1Go793c3pWvNlUnhmGOdpNAgIgR9ywPbuZ6my4%2BaEUsnbd2jgwCoI%2F1%2BP38qAWaJDJwSnR5f7sw%3D%3D--nvkqN7Sq7SQJms1x--YrNaFxy3gm140MAR3mxC2g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1587223082.1753634029; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:33:49 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:33:49 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B756:2F5ED7:FE2169:14DBC6E:688654ED
[PRIM][PIR]Support optional and more vjp gen (#57693) · PaddlePaddle/Paddle@0932142 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/operators/generator/filters.py
Copy file name to clipboardExpand all lines: paddle/fluid/operators/generator/type_mapping.py
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_backend.h.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_eager_backend.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_static_backend.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/common.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/primitive/primitive.h.j2
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 0932142
[PRIM][PIR]Support optional and more vjp gen (#57693)
* Support optional input and output for pir api
* Polish gen code
* Fix py3 ci compile error
* Fix code
* Fix error
* Fix windows ci error
* support optional in vjp and add more ops vjp gen
---------
Co-authored-by: 0x45f <wangzhen45@baidu.com>1 parent 16a45d7 commit 0932142Copy full SHA for 0932142
File tree
Expand file treeCollapse file tree
8 files changed
+195
-25
lines changedFilter options
- paddle/fluid
- operators/generator
- primitive/codegen
- templates
- backend/generated
- primitive
Expand file treeCollapse file tree
8 files changed
+195
-25
lines changedpaddle/fluid/operators/generator/filters.py
Copy file name to clipboardExpand all lines: paddle/fluid/operators/generator/filters.py+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
154 | 155 |
| |
155 | 156 |
| |
156 | 157 |
| |
157 |
| - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
158 | 161 |
| |
159 | 162 |
| |
160 | 163 |
| |
|
paddle/fluid/operators/generator/type_mapping.py
Copy file name to clipboardExpand all lines: paddle/fluid/operators/generator/type_mapping.py+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 |
| |
89 | 94 |
| |
90 | 95 |
| |
|
paddle/fluid/primitive/codegen/gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/gen.py+106-2Lines changed: 106 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 |
| - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 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 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
83 | 135 |
| |
84 | 136 |
| |
85 | 137 |
| |
| |||
183 | 235 |
| |
184 | 236 |
| |
185 | 237 |
| |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
186 | 290 |
| |
187 | 291 |
| |
188 | 292 |
| |
|
paddle/fluid/primitive/codegen/templates/backend/generated/generated_backend.h.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_backend.h.j2+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 |
| |
25 |
| - | |
| 31 | + | |
26 | 32 |
| |
27 | 33 |
| |
28 |
| - | |
| 34 | + | |
29 | 35 |
| |
30 | 36 |
| |
31 | 37 |
| |
|
paddle/fluid/primitive/codegen/templates/backend/generated/generated_eager_backend.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_eager_backend.cc.j2+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 |
| |
40 | 46 |
| |
41 | 47 |
| |
|
paddle/fluid/primitive/codegen/templates/backend/generated/generated_static_backend.cc.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/backend/generated/generated_static_backend.cc.j2+52-12Lines changed: 52 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
| 34 | + | |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 |
| - | |
| 39 | + | |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 |
| |
41 | 45 |
| |
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
45 | 49 |
| |
46 | 50 |
| |
47 |
| - | |
| 51 | + | |
48 | 52 |
| |
49 | 53 |
| |
50 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 |
| |
52 | 62 |
| |
53 | 63 |
| |
54 | 64 |
| |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
55 | 75 |
| |
56 | 76 |
| |
57 | 77 |
| |
58 | 78 |
| |
59 | 79 |
| |
60 | 80 |
| |
61 |
| - | |
| 81 | + | |
62 | 82 |
| |
63 |
| - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
64 | 89 |
| |
65 | 90 |
| |
66 | 91 |
| |
67 | 92 |
| |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
68 | 102 |
| |
69 | 103 |
| |
70 | 104 |
| |
| |||
107 | 141 |
| |
108 | 142 |
| |
109 | 143 |
| |
110 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
111 | 151 |
| |
112 | 152 |
| |
113 | 153 |
| |
114 | 154 |
| |
115 | 155 |
| |
116 | 156 |
| |
117 |
| - | |
| 157 | + | |
118 | 158 |
| |
119 | 159 |
| |
120 | 160 |
| |
|
paddle/fluid/primitive/codegen/templates/common.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/common.j2+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
|
paddle/fluid/primitive/codegen/templates/primitive/primitive.h.j2
Copy file name to clipboardExpand all lines: paddle/fluid/primitive/codegen/templates/primitive/primitive.h.j2+7-1Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 |
| |
23 | 29 |
| |
24 | 30 |
| |
|
You can’t perform that action at this time.
0 commit comments