CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 14:57:38 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/"f99aef236d2ec443c4c4c0fe1c3982d0"
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=gvflwZaka4SJWWf0fuHNh4h6MYq3RY5emwnr9%2B7ZfIm1xUia5NG2qfv%2BdOVAqd4kUvZuN0s8saJLojge3U7ZD7lqnfwKrILaHDOJnomsbeTjMadslX49NfFfcTu8jYMKsXbMxFAlshObt%2FAzYmMPNUawZ2ohnk%2F5bI9OE3LMW%2FbjYHLupGFv4jPUphOHw9i%2Bl%2BatKKUMr4auJKVKhFOvD%2FBzAD2tL5rIy4bqxYkV1OZ4Tfe%2Bq6ORfz6%2Fok8j1UiRM8BW0ha34bdE5Fcta2Rn8Q%3D%3D--ueKCzM8Ntk6mrdCF--gw0veh1GFu4hXZ2i7miC2A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1457290201.1753369058; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 14:57:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 14:57:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 983A:D1861:38E96:4219B:688249E2
[0-size Tensor No.69、70] Add 0-size Tensor support for fmax fmin API.… · PaddlePaddle/Paddle@b48ac45 · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/elementwise_base.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/elementwise_grad_kernel_impl.h
Copy file name to clipboardExpand all lines: test/legacy_test/test_fmax_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_fmin_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit b48ac45
authored
[0-size Tensor No.69、70] Add 0-size Tensor support for fmax fmin API. (#72912)
* fix 0 size Tensor for expand kernel in onednn
* format
* expand_grad support 0 size Tensor
* fix bug and add unittest
* modify the unittest for onednn kernel
* modify expand unittest to force enable onednn op
* fix fmax fmin grad kernel1 parent 057866a commit b48ac45Copy full SHA for b48ac45
File tree
Expand file treeCollapse file tree
4 files changed
+103
-6
lines changedFilter options
- paddle/phi/kernels
- funcs
- impl
- test/legacy_test
Expand file treeCollapse file tree
4 files changed
+103
-6
lines changedpaddle/phi/kernels/funcs/elementwise_base.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/funcs/elementwise_base.h+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
| 376 | + | |
| 377 | + | |
| 378 | + | |
376 | 379 |
| |
377 | 380 |
| |
378 | 381 |
| |
|
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 | |
---|---|---|---|
| |||
746 | 746 |
| |
747 | 747 |
| |
748 | 748 |
| |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
749 | 770 |
| |
750 | 771 |
| |
751 | 772 |
| |
| |||
791 | 812 |
| |
792 | 813 |
| |
793 | 814 |
| |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
794 | 836 |
| |
795 | 837 |
| |
796 | 838 |
| |
|
test/legacy_test/test_fmax_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_fmax_op.py+40-3Lines changed: 40 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
143 |
| - | |
144 |
| - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
| 149 | + | |
| 150 | + | |
| 151 | + | |
148 | 152 |
| |
149 | 153 |
| |
150 | 154 |
| |
| |||
286 | 290 |
| |
287 | 291 |
| |
288 | 292 |
| |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
289 | 326 |
| |
290 | 327 |
|
test/legacy_test/test_fmin_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_fmin_op.py+18-3Lines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
147 | 148 |
| |
148 | 149 |
| |
149 | 150 |
| |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
150 | 155 |
| |
151 | 156 |
| |
152 | 157 |
| |
| |||
288 | 293 |
| |
289 | 294 |
| |
290 | 295 |
| |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
291 | 306 |
| |
292 | 307 |
| |
293 | 308 |
|
You can’t perform that action at this time.
0 commit comments