CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 00:23:05 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/"cc0ff0d98fb2940a45d3ab41c55a03de"
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=A29XKvQuaFXw2rz%2FaiNMls4tQ0HjKY9bjMoTPfbEqhPhB3vdBKqn7aGvKLcznj%2B6EapL6789g6AyASduu8GSQ1ssIwzrvpIHYkrfr1Wky4UcGjlIguYXEVZOsQvIzemau7Zv0ObT0TasoawOMqn8Lv%2FSeW6oRp5Bdu%2BQNJdQAVHJ30Px%2FGa7O3bF%2Fhq6OxYaWcrmKrYwuSWrKtkVa1x%2FfZOsLLthadt6YObF6y6zvrdgl7HyortRsbAOWjkAhCkGnD88XzzIwnyORdGoKyYLbA%3D%3D--WmS40V9OQtqzLvjT--hLyibKYJ9hnXXiKlYQlnkQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2112331659.1753316585; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 00:23:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 00:23:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A22E:3F8A98:1B7536:26CB59:68817CE9
[0-size Tensor No.73] Add 0-size Tensor support for paddle.gammaln AP… · PaddlePaddle/Paddle@df34282 · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/gammaln_grad_kernel_impl.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/gammaln_kernel_impl.h
Copy file name to clipboardExpand all lines: test/legacy_test/test_gammaln_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit df34282
authored
[0-size Tensor No.73] Add 0-size Tensor support for paddle.gammaln API (#72895)
* 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 gammaln to support 0 size Tensor1 parent 263f2e0 commit df34282Copy full SHA for df34282
File tree
Expand file treeCollapse file tree
3 files changed
+26
-1
lines changedFilter options
- paddle/phi/kernels/impl
- test/legacy_test
Expand file treeCollapse file tree
3 files changed
+26
-1
lines changedpaddle/phi/kernels/impl/gammaln_grad_kernel_impl.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/gammaln_grad_kernel_impl.h+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
84 | 88 |
| |
85 | 89 |
| |
86 | 90 |
| |
|
paddle/phi/kernels/impl/gammaln_kernel_impl.h
Copy file name to clipboardExpand all lines: paddle/phi/kernels/impl/gammaln_kernel_impl.h+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
|
test/legacy_test/test_gammaln_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_gammaln_op.py+19-1Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
| |||
51 | 54 |
| |
52 | 55 |
| |
53 | 56 |
| |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
54 | 72 |
| |
55 | 73 |
| |
56 | 74 |
| |
|
You can’t perform that action at this time.
0 commit comments