CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 15:59: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/"78bb2d68047831f1e58039ca57cfe73f"
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=Srh9KcftoAHh8V9ZOeY%2BWua2Q4lC2RxPAN8M5hc8NVoEKvQU94FFoHei%2BshdNRilBePeL8MuG6Y9OkcCq5FKvHA6CLYXyYR8UYRAsdBkNKH55NVTBkyZffBn7EAvugfQAscCpNxzQPRRza7q0UR5I88DehrPdLjLs%2FO9YrMGYE5pQQ%2FuAtIXu7VZ0RoW%2BFS6PLHVt%2FCQOBQHrRl6f1uDEgzYl3rjQ6rNJuOj8eNLyfXFAxsTvl8e0B4oMb%2Fr4akwSfM8XBhsNwDSaoJMW3Prxg%3D%3D--6LcIqLcXfX8Qgiu%2F--KwC80LwvvZW2D1%2BKFhPTIg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1701046977.1753631959; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 15:59:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 15:59:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D922:2F5ED7:FA0924:1488C87:68864CD7
[OP] Add remainder_grad for remainder operator (#68961) · PaddlePaddle/Paddle@c05e117 · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/elementwise_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/elementwise_grad_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/elementwise_functor.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/elementwise_grad_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/elementwise_grad_kernel_impl.h
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/legacy/static_backward.yaml
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit c05e117
authored
[OP] Add remainder_grad for remainder operator (#68961)
* add remainder_grad for remainder operator
* update code
* Change Tensor.to from in-place to a out-of-place operation to avoid implicit in-place modifications that may lead to unexpected results or errors
* update code
* update code
* update ops.yaml/backward.yaml
* add more test case
* update
* update
* update code
* remove un-related files
* restore files
* remove check
* remove zero check
* add dynamic_guard1 parent 738d26a commit c05e117Copy full SHA for c05e117
File tree
Expand file treeCollapse file tree
13 files changed
+423
-37
lines changedFilter options
- paddle/phi
- kernels
- cpu
- funcs
- gpu
- impl
- ops/yaml
- inconsistent
- legacy
- test/legacy_test
Expand file treeCollapse file tree
13 files changed
+423
-37
lines changedpaddle/phi/kernels/cpu/elementwise_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/elementwise_grad_kernel.cc+33Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
52 | 75 |
| |
53 | 76 |
| |
54 | 77 |
| |
| |||
111 | 134 |
| |
112 | 135 |
| |
113 | 136 |
| |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
114 | 147 |
| |
115 | 148 |
| |
116 | 149 |
| |
|
paddle/phi/kernels/elementwise_grad_kernel.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/elementwise_grad_kernel.h+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 |
| |
55 | 63 |
| |
56 | 64 |
| |
|
paddle/phi/kernels/funcs/elementwise_functor.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/elementwise_functor.h+90Lines changed: 90 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
591 | 591 |
| |
592 | 592 |
| |
593 | 593 |
| |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
594 | 684 |
| |
595 | 685 |
| |
596 | 686 |
| |
|
paddle/phi/kernels/gpu/elementwise_grad_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/elementwise_grad_kernel.cu+41Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
213 | 243 |
| |
214 | 244 |
| |
215 | 245 |
| |
| |||
295 | 325 |
| |
296 | 326 |
| |
297 | 327 |
| |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
298 | 339 |
| |
299 | 340 |
| |
300 | 341 |
| |
|
paddle/phi/kernels/impl/elementwise_grad_kernel_impl.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/elementwise_grad_kernel_impl.h+42Lines changed: 42 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1400 | 1400 |
| |
1401 | 1401 |
| |
1402 | 1402 |
| |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1403 | 1445 |
| |
1404 | 1446 |
| |
1405 | 1447 |
| |
|
paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_backward.yaml+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
266 | 266 |
| |
267 | 267 |
| |
268 | 268 |
| |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
269 | 279 |
| |
270 | 280 |
| |
271 | 281 |
| |
|
paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/dygraph_ops.yaml+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
| 298 | + | |
298 | 299 |
| |
299 | 300 |
| |
300 | 301 |
| |
301 |
| - | |
| 302 | + | |
302 | 303 |
| |
303 | 304 |
| |
304 | 305 |
| |
|
paddle/phi/ops/yaml/inconsistent/static_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_backward.yaml+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
472 | 472 |
| |
473 | 473 |
| |
474 | 474 |
| |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
475 | 485 |
| |
476 | 486 |
| |
477 | 487 |
| |
|
paddle/phi/ops/yaml/inconsistent/static_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/inconsistent/static_ops.yaml+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
779 | 779 |
| |
780 | 780 |
| |
781 | 781 |
| |
| 782 | + | |
782 | 783 |
| |
783 | 784 |
| |
784 | 785 |
| |
785 | 786 |
| |
786 | 787 |
| |
787 | 788 |
| |
788 |
| - | |
| 789 | + | |
789 | 790 |
| |
790 | 791 |
| |
791 | 792 |
| |
|
paddle/phi/ops/yaml/legacy/static_backward.yaml
Copy file name to clipboardExpand all lines: paddle/phi/ops/yaml/legacy/static_backward.yaml+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
383 | 393 |
| |
384 | 394 |
| |
385 | 395 |
| |
|
You can’t perform that action at this time.
0 commit comments