CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 00:47:30 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/"f2478d4729b8f0e96ad962ec3d594339"
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=aCVN05FIaPgqGyzcwqJHHhbP6iT3xn8ubL4xYAWqOJOWmv95J0LCON0qsoqRfbmaiLAtHSPX0wm6vCGiuegF0bOjZYXfDAdBjCfoG1jSlqnyuswrJWSu6wTQiPO0AjVrFQIvTN2MUKlG%2B9axLsO6VjsYjEFdCmji%2F2ZN0Y3TLdfnNWmNq7lMWEkVbO2z4oUVKG%2Bvgt3h%2BymJfy4lDJ3iRQBJxuZ1XUt8TUhBShQ47rKcpGHltQFyNDa8Qu0psx6W2OoTRjYFGsBpMeNR1Az%2B5Q%3D%3D--86%2FUxiMmGNFu1BR3--rMongUl6beguloj44mo4EA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.76613527.1753490849; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 00:47:29 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 26 Jul 2026 00:47:29 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D4CC:178C3F:663BE:A43E6:688425A1
【dygraph】add python API of Grad api (#70937) · PaddlePaddle/Paddle@bc04aa7 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/codegen_utils.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/eager_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/python_c_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/ops_api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/python_c_gen.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit bc04aa7
authored
【dygraph】add python API of Grad api (#70937)
* generate_vjp optional output add check
* add if while grad op stopgradient update func
* modify bug
* fix while op update
* delete print
* add base grad api gen
* delete no need modify
* modify op test
* fix lamb_ yaml
* add test_grad_api
* add test_grad_api
* modify einsum1 parent 492a11e commit bc04aa7Copy full SHA for bc04aa7
File tree
Expand file treeCollapse file tree
15 files changed
+378
-87
lines changedFilter options
- paddle
- fluid
- eager/auto_code_generator/generator
- pir/dialect/op_generator
- phi
- api
- generator
- lib
- ops/yaml
- inconsistent
- test/legacy_test
Expand file treeCollapse file tree
15 files changed
+378
-87
lines changedpaddle/fluid/eager/auto_code_generator/generator/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/CMakeLists.txt+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 |
| |
8 | 11 |
| |
9 | 12 |
| |
| |||
67 | 70 |
| |
68 | 71 |
| |
69 | 72 |
| |
70 |
| - | |
| 73 | + | |
71 | 74 |
| |
72 | 75 |
| |
73 | 76 |
| |
|
paddle/fluid/eager/auto_code_generator/generator/codegen_utils.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/codegen_utils.py+12-5Lines changed: 12 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
542 | 542 |
| |
543 | 543 |
| |
544 | 544 |
| |
545 |
| - | |
546 |
| - | |
547 |
| - | |
548 |
| - | |
549 |
| - | |
550 | 545 |
| |
551 | 546 |
| |
| 547 | + | |
552 | 548 |
| |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
553 | 555 |
| |
554 | 556 |
| |
555 | 557 |
| |
| 558 | + | |
| 559 | + | |
| 560 | + | |
556 | 561 |
| |
557 | 562 |
| |
558 | 563 |
| |
559 | 564 |
| |
| 565 | + | |
| 566 | + | |
560 | 567 |
| |
561 | 568 |
| |
562 | 569 |
| |
|
paddle/fluid/eager/auto_code_generator/generator/eager_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/eager_gen.py+75-37Lines changed: 75 additions & 37 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 |
| |
65 | 70 |
| |
66 | 71 |
| |
| |||
916 | 921 |
| |
917 | 922 |
| |
918 | 923 |
| |
919 |
| - | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
920 | 928 |
| |
921 | 929 |
| |
922 | 930 |
| |
| |||
2218 | 2226 |
| |
2219 | 2227 |
| |
2220 | 2228 |
| |
2221 |
| - | |
| 2229 | + | |
2222 | 2230 |
| |
2223 | 2231 |
| |
2224 | 2232 |
| |
| |||
2230 | 2238 |
| |
2231 | 2239 |
| |
2232 | 2240 |
| |
2233 |
| - | |
| 2241 | + | |
| 2242 | + | |
2234 | 2243 |
| |
2235 | 2244 |
| |
2236 | 2245 |
| |
| |||
3134 | 3143 |
| |
3135 | 3144 |
| |
3136 | 3145 |
| |
3137 |
| - | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
3138 | 3151 |
| |
3139 | 3152 |
| |
3140 | 3153 |
| |
3141 |
| - | |
| 3154 | + | |
3142 | 3155 |
| |
3143 | 3156 |
| |
3144 | 3157 |
| |
3145 |
| - | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
3146 | 3165 |
| |
3147 | 3166 |
| |
3148 | 3167 |
| |
| |||
3161 | 3180 |
| |
3162 | 3181 |
| |
3163 | 3182 |
| |
3164 |
| - | |
| 3183 | + | |
3165 | 3184 |
| |
3166 | 3185 |
| |
3167 | 3186 |
| |
| |||
3170 | 3189 |
| |
3171 | 3190 |
| |
3172 | 3191 |
| |
3173 |
| - | |
3174 |
| - | |
3175 |
| - | |
3176 |
| - | |
3177 |
| - | |
3178 |
| - | |
3179 |
| - | |
| 3192 | + | |
| 3193 | + | |
| 3194 | + | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
3180 | 3200 |
| |
3181 |
| - | |
3182 |
| - | |
3183 |
| - | |
3184 |
| - | |
3185 |
| - | |
3186 |
| - | |
3187 |
| - | |
3188 |
| - | |
3189 |
| - | |
3190 |
| - | |
3191 |
| - | |
3192 |
| - | |
3193 |
| - | |
3194 |
| - | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3195 | 3215 |
| |
3196 |
| - | |
3197 |
| - | |
| 3216 | + | |
| 3217 | + | |
3198 | 3218 |
| |
3199 |
| - | |
3200 |
| - | |
| 3219 | + | |
| 3220 | + | |
3201 | 3221 |
| |
3202 |
| - | |
3203 |
| - | |
3204 |
| - | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
3205 | 3227 |
| |
3206 | 3228 |
| |
3207 | 3229 |
| |
| |||
3219 | 3241 |
| |
3220 | 3242 |
| |
3221 | 3243 |
| |
3222 |
| - | |
| 3244 | + | |
3223 | 3245 |
| |
3224 | 3246 |
| |
3225 | 3247 |
| |
3226 | 3248 |
| |
3227 |
| - | |
| 3249 | + | |
3228 | 3250 |
| |
3229 | 3251 |
| |
3230 | 3252 |
| |
| |||
3329 | 3351 |
| |
3330 | 3352 |
| |
3331 | 3353 |
| |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
| 3363 | + | |
| 3364 | + | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
| 3369 | + | |
3332 | 3370 |
| |
3333 | 3371 |
| |
3334 | 3372 |
| |
|
paddle/fluid/eager/auto_code_generator/generator/python_c_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/eager/auto_code_generator/generator/python_c_gen.py+17-5Lines changed: 17 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 |
| |
31 | 39 |
| |
32 | 40 |
| |
| |||
142 | 150 |
| |
143 | 151 |
| |
144 | 152 |
| |
145 |
| - | |
| 153 | + | |
146 | 154 |
| |
147 | 155 |
| |
148 | 156 |
| |
| |||
502 | 510 |
| |
503 | 511 |
| |
504 | 512 |
| |
505 |
| - | |
| 513 | + | |
506 | 514 |
| |
507 | 515 |
| |
508 | 516 |
| |
| |||
570 | 578 |
| |
571 | 579 |
| |
572 | 580 |
| |
573 |
| - | |
| 581 | + | |
574 | 582 |
| |
575 | 583 |
| |
576 | 584 |
| |
| |||
609 | 617 |
| |
610 | 618 |
| |
611 | 619 |
| |
612 |
| - | |
| 620 | + | |
613 | 621 |
| |
614 | 622 |
| |
615 | 623 |
| |
| |||
662 | 670 |
| |
663 | 671 |
| |
664 | 672 |
| |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
665 | 677 |
| |
666 | 678 |
| |
667 | 679 |
| |
|
paddle/fluid/pir/dialect/op_generator/op_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_gen.py+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
433 | 433 |
| |
434 | 434 |
| |
435 | 435 |
| |
| 436 | + | |
436 | 437 |
| |
437 | 438 |
| |
438 | 439 |
| |
| |||
784 | 785 |
| |
785 | 786 |
| |
786 | 787 |
| |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
787 | 796 |
| |
788 | 797 |
| |
789 | 798 |
| |
|
paddle/fluid/pir/dialect/op_generator/ops_api_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/ops_api_gen.py+28-4Lines changed: 28 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| 151 | + | |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
| |||
235 | 236 |
| |
236 | 237 |
| |
237 | 238 |
| |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
238 | 245 |
| |
239 | 246 |
| |
240 | 247 |
| |
| |||
243 | 250 |
| |
244 | 251 |
| |
245 | 252 |
| |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
246 | 263 |
| |
247 | 264 |
| |
248 |
| - | |
| 265 | + | |
249 | 266 |
| |
250 | 267 |
| |
251 | 268 |
| |
252 | 269 |
| |
253 |
| - | |
254 |
| - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
255 | 276 |
| |
256 |
| - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
257 | 281 |
| |
258 | 282 |
| |
259 | 283 |
| |
|
paddle/fluid/pir/dialect/op_generator/python_c_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/python_c_gen.py+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
467 | 467 |
| |
468 | 468 |
| |
469 | 469 |
| |
470 |
| - | |
| 470 | + | |
471 | 471 |
| |
472 | 472 |
| |
473 | 473 |
| |
|
You can’t perform that action at this time.
0 commit comments