CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 00:45:16 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/"275d2390f14e0e0f60630bf11914f37e"
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=WKZEz5YLp430v1x98bMeeAL0K4awVDYEgyDnbozL285bMhME4nJWA%2FXY3AJdNjcBVeMn4vCk9HlC2pfa3OiGvGoaqMOZD18pzAhgY8Ffb8lshFlBa7zrqAe%2BU6P6bN4YUd9oXBERvDkW3dVSbMx6hQodNe4NYJaUT%2Bk%2BymtyZnkgpAQTR5HoX%2FUX1co23%2FBHd90vL6JUDn9iJoqgWYPthV3ptW05bWfuPeQn6ZFwmF%2FxnkKQI1qfy8SKKqhTzgYzH40szuJoDXOVB6PLTUFHmQ%3D%3D--sqR3TXeynA3AozMi--schuobt%2Fgflbnpe9WGcJOg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1793776594.1753577115; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 00:45:15 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 00:45:15 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C266:3240E6:9A7B97:CC04E1:6885769B
[0-size Tensor ] Add 0-size Tensor support for paddle.linalg.vecdot … · PaddlePaddle/Paddle@3e7645d · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/kps/reduce_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: test/legacy_test/test_reduce_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 3e7645d
authored
[0-size Tensor ] Add 0-size Tensor support for paddle.linalg.vecdot API. (#72694)
* refix the 0-size tensor for paddle.linalg.vecdot
* fotmat code with google style
* fix:format with google style
* remove "print" in unittest
* add unittest for onednn kernel
* format the unittest case1 parent 700b5f4 commit 3e7645dCopy full SHA for 3e7645d
File tree
Expand file treeCollapse file tree
8 files changed
+93
-102
lines changedFilter options
- paddle/phi/kernels
- cpu
- kps
- onednn
- xpu
- test/legacy_test
Expand file treeCollapse file tree
8 files changed
+93
-102
lines changedpaddle/phi/kernels/cpu/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/reduce_sum_grad_kernel.cc+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
|
paddle/phi/kernels/cpu/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/reduce_sum_kernel.cc+7-52Lines changed: 7 additions & 52 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 | 15 |
| |
18 | 16 |
| |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 | 39 |
| |
89 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
90 | 45 |
| |
91 | 46 |
| |
92 | 47 |
| |
|
paddle/phi/kernels/kps/reduce_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/kps/reduce_kernel.cu+6-50Lines changed: 6 additions & 50 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
210 | 211 |
| |
211 | 212 |
| |
212 | 213 |
| |
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 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 |
| - | |
248 |
| - | |
249 |
| - | |
250 |
| - | |
251 |
| - | |
252 |
| - | |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 |
| - | |
258 |
| - | |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 | 214 |
| |
263 |
| - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
264 | 220 |
| |
265 | 221 |
| |
266 | 222 |
| |
|
paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/reduce_sum_grad_kernel.cc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 |
| |
30 | 35 |
| |
31 | 36 |
| |
|
paddle/phi/kernels/onednn/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/onednn/reduce_sum_kernel.cc+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
| 18 | + | |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
| |||
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 |
| |
30 | 41 |
| |
31 | 42 |
| |
|
paddle/phi/kernels/xpu/reduce_sum_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/reduce_sum_grad_kernel.cc+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
|
paddle/phi/kernels/xpu/reduce_sum_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/xpu/reduce_sum_kernel.cc+10Lines changed: 10 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 |
| |
| |||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
34 | 44 |
| |
35 | 45 |
| |
36 | 46 |
| |
|
test/legacy_test/test_reduce_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_reduce_op.py+46Lines changed: 46 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
| 210 | + | |
| 211 | + | |
| 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 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
210 | 256 |
| |
211 | 257 |
| |
212 | 258 |
| |
|
You can’t perform that action at this time.
0 commit comments