CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 21:22:22 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/"465bd8ea7ade978d034c5f7cba2d4213"
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=7GDTwxx0AUInaV6X1cxJGL4D4j3ScVzssnCr4f%2BCAEy3awq83HjT85vE%2BYUgK7IPtDsrlZPOXRG9jaaJLmTF1XND8oxFNhdt0Bl5czBWkl7K%2Bg%2F4In7X0TZ%2Fh1iW4j8eFSaxXal%2Bb55zYPZSudrn%2FvJiIIC7VZ%2F6lm9%2B56k%2FuBTNrEiyRNVQj7enkRMldje%2BdmgAJaJYnWlbUSqA18AOy1Zv4nSSM80eOs1GG7O22ZSYX2pquphF%2BeWRPj8mDeBR6k%2BBucAT8wlzLLXzJr7sUQ%3D%3D--prID75w%2BS%2BEv3S3a--iyB0CBRtBCjfN%2FC4OXGp6Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1078600159.1753651342; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:22:22 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 21:22:22 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A41A:363053:11B68C1:1742D97:6886988E
【pir】add test_while_api.py gradient case (#59999) · PaddlePaddle/Paddle@dba3976 · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.h
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/control_flow_api.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit dba3976
【pir】add test_while_api.py gradient case (#59999)
* optimize backward
* [PIR] add vjp interface for while op
* [PIR] fix ci error.
* modify while stopgradient
* merge
* modify while grad bug
* modify while grad op
* modify
* code style
* code style
---------
Co-authored-by: winter-wang <1030748926@qq.com>1 parent 413b654 commit dba3976Copy full SHA for dba3976
File tree
Expand file treeCollapse file tree
7 files changed
+262
-50
lines changedFilter options
- paddle/fluid
- pir/dialect/operator/ir
- pybind
- python/paddle
- autograd
- static/nn
- test/ir/pir
Expand file treeCollapse file tree
7 files changed
+262
-50
lines changedpaddle/fluid/pir/dialect/operator/ir/control_flow_op.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.cc+29-20Lines changed: 29 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
51 | 52 |
| |
52 | 53 |
| |
53 | 54 |
| |
| |||
289 | 290 |
| |
290 | 291 |
| |
291 | 292 |
| |
| 293 | + | |
292 | 294 |
| |
293 | 295 |
| |
294 |
| - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
295 | 303 |
| |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
296 | 309 |
| |
297 | 310 |
| |
298 | 311 |
| |
299 | 312 |
| |
300 | 313 |
| |
301 | 314 |
| |
302 | 315 |
| |
| 316 | + | |
303 | 317 |
| |
304 | 318 |
| |
305 | 319 |
| |
| |||
367 | 381 |
| |
368 | 382 |
| |
369 | 383 |
| |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
370 | 392 |
| |
371 | 393 |
| |
372 | 394 |
| |
| |||
377 | 399 |
| |
378 | 400 |
| |
379 | 401 |
| |
380 |
| - | |
381 | 402 |
| |
382 |
| - | |
| 403 | + | |
383 | 404 |
| |
384 | 405 |
| |
385 | 406 |
| |
386 | 407 |
| |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 |
| - | |
401 | 408 |
| |
402 | 409 |
| |
403 | 410 |
| |
| |||
426 | 433 |
| |
427 | 434 |
| |
428 | 435 |
| |
429 |
| - | |
430 |
| - | |
431 |
| - | |
| 436 | + | |
432 | 437 |
| |
433 | 438 |
| |
434 | 439 |
| |
| |||
439 | 444 |
| |
440 | 445 |
| |
441 | 446 |
| |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
442 | 451 |
| |
443 | 452 |
| |
444 | 453 |
| |
|
paddle/fluid/pir/dialect/operator/ir/control_flow_op.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/ir/control_flow_op.h+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
78 | 79 |
| |
79 | 80 |
| |
80 | 81 |
| |
| 82 | + | |
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
|
paddle/fluid/pybind/control_flow_api.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pybind/control_flow_api.cc+31-2Lines changed: 31 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
88 | 89 |
| |
89 | 90 |
| |
90 | 91 |
| |
91 |
| - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 |
| |
93 | 97 |
| |
94 | 98 |
| |
| |||
126 | 130 |
| |
127 | 131 |
| |
128 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
129 | 157 |
| |
130 | 158 |
| |
131 | 159 |
| |
| |||
193 | 221 |
| |
194 | 222 |
| |
195 | 223 |
| |
| 224 | + | |
196 | 225 |
| |
197 | 226 |
| |
198 | 227 |
| |
199 | 228 |
| |
200 | 229 |
| |
201 | 230 |
| |
202 | 231 |
| |
203 |
| - | |
204 | 232 |
| |
205 | 233 |
| |
206 | 234 |
| |
| 235 | + | |
207 | 236 |
| |
208 | 237 |
|
+13-1Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
320 | 320 |
| |
321 | 321 |
| |
322 | 322 |
| |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
323 | 327 |
| |
324 | 328 |
| |
325 | 329 |
| |
326 | 330 |
| |
327 | 331 |
| |
328 |
| - | |
| 332 | + | |
329 | 333 |
| |
330 | 334 |
| |
331 | 335 |
| |
| |||
717 | 721 |
| |
718 | 722 |
| |
719 | 723 |
| |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
720 | 732 |
| |
721 | 733 |
| |
722 | 734 |
| |
|
You can’t perform that action at this time.
0 commit comments