CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 16:03:41 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/"b795c827b222a38fcf89ad2529e8f304"
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=YzFIgsDLVKo0%2B3npnlA6G9lLA8oqDavhULvoeIYaOlPw5FwhRl5sCEiw7og5qVHsREFDUeoVWUpjCtXP%2F6TH7Gz9iY3EiqMTlMBT%2F6Z%2B0s%2Fezpq%2FD1oISkTpBxUW%2F61ct7DADp%2F3sumMdurlIYBplUjzNKIEuL1daNoJ8k37GXgb%2BaDg%2BVCEUDft2z3CBm0UMg%2Fp9wVNFrxZ9rOoRTIv1vGb031kvbnPqxCjtz02xGJq9dRNUR3Yk1Osy1jXb2%2Bn05Kv93QYdRVkSamjMaPCFg%3D%3D--Vx1ty4O2P5AHwwZb--ZlV2QyTS4FRI4tf0mvr%2FUA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.18416442.1753632220; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:03:40 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 16:03:40 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A3D6:290E4F:64EDB9:84F7FB:68864DDC
【complex op No.33】abs_coo/abs_csr(sparse) (#62237) · PaddlePaddle/Paddle@8218dce · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.cc
Copy file name to clipboardExpand all lines: paddle/phi/api/yaml/sparse_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/sparse/unary.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/mask_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/sparse_utils_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/unary_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/unary_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/empty_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/gpu/mask_kernel.cu
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 8218dce
authored
【complex op No.33】abs_coo/abs_csr(sparse) (#62237)
* 除了to_dense bug没修改
* 修改了to_dense的bug
* gpu
* grad
* 单元测试
* 添加修改
* bug修改
* pre_commit
* 添加注释的更改
* merge into test_sparse_uanry
* add devices check
* bug fix
* macro definition for abs
* Add tests for float16
* rabit hole
* Add a new EmptyLikeCXXKernel function to the absKernel for sparse tensors.
* Remove irrelevant comments.
* add new infermeta
* Temporary changes
* remove EmptyLikeCXXRealComplexKernel
* Remove unrelated header files
* change the device setting in test op
* sparse_utiles_grad for complex
* bug fix
* add support for float16 in sparse_coo_grad1 parent 53c1218 commit 8218dceCopy full SHA for 8218dce
File tree
Expand file treeCollapse file tree
17 files changed
+347
-62
lines changedFilter options
- paddle
- fluid/eager
- phi
- api/yaml
- infermeta/sparse
- kernels/sparse
- cpu
- gpu
- impl
- python/paddle/sparse
- test/legacy_test
Expand file treeCollapse file tree
17 files changed
+347
-62
lines changedpaddle/fluid/eager/grad_node_info.cc
Copy file name to clipboardExpand all lines: paddle/fluid/eager/grad_node_info.cc+26Lines changed: 26 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
438 | 464 |
| |
439 | 465 |
| |
440 | 466 |
| |
|
paddle/phi/api/yaml/sparse_ops.yaml
Copy file name to clipboardExpand all lines: paddle/phi/api/yaml/sparse_ops.yaml+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
paddle/phi/infermeta/sparse/unary.cc
Copy file name to clipboardExpand all lines: paddle/phi/infermeta/sparse/unary.cc-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
|
paddle/phi/kernels/sparse/cpu/mask_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/mask_kernel.cc+10-3Lines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
124 | 125 |
| |
| 126 | + | |
| 127 | + | |
125 | 128 |
| |
126 |
| - | |
127 | 129 |
| |
128 | 130 |
| |
129 | 131 |
| |
| |||
166 | 168 |
| |
167 | 169 |
| |
168 | 170 |
| |
169 |
| - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 |
| |
171 | 175 |
| |
172 | 176 |
| |
| |||
176 | 180 |
| |
177 | 181 |
| |
178 | 182 |
| |
| 183 | + | |
179 | 184 |
| |
180 | 185 |
| |
181 | 186 |
| |
182 |
| - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 |
| |
184 | 191 |
|
paddle/phi/kernels/sparse/cpu/sparse_utils_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/sparse_utils_kernel.cc+27-9Lines changed: 27 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 |
| - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
332 | 334 |
| |
333 | 335 |
| |
334 | 336 |
| |
| |||
342 | 344 |
| |
343 | 345 |
| |
344 | 346 |
| |
345 |
| - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
346 | 350 |
| |
347 | 351 |
| |
348 | 352 |
| |
| |||
356 | 360 |
| |
357 | 361 |
| |
358 | 362 |
| |
359 |
| - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
360 | 366 |
| |
361 | 367 |
| |
362 | 368 |
| |
| |||
369 | 375 |
| |
370 | 376 |
| |
371 | 377 |
| |
372 |
| - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
373 | 381 |
| |
374 | 382 |
| |
375 | 383 |
| |
| |||
383 | 391 |
| |
384 | 392 |
| |
385 | 393 |
| |
386 |
| - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
387 | 397 |
| |
388 | 398 |
| |
389 | 399 |
| |
| |||
397 | 407 |
| |
398 | 408 |
| |
399 | 409 |
| |
400 |
| - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
401 | 413 |
| |
402 | 414 |
| |
403 | 415 |
| |
| |||
411 | 423 |
| |
412 | 424 |
| |
413 | 425 |
| |
414 |
| - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
415 | 429 |
| |
416 | 430 |
| |
417 | 431 |
| |
| |||
442 | 456 |
| |
443 | 457 |
| |
444 | 458 |
| |
445 |
| - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
446 | 462 |
| |
447 | 463 |
| |
448 | 464 |
| |
| |||
456 | 472 |
| |
457 | 473 |
| |
458 | 474 |
| |
459 |
| - | |
| 475 | + | |
| 476 | + | |
| 477 | + |
paddle/phi/kernels/sparse/cpu/unary_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/unary_grad_kernel.cc+25-1Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
40 | 63 |
| |
41 | 64 |
| |
42 | 65 |
| |
| |||
49 | 72 |
| |
50 | 73 |
| |
51 | 74 |
| |
52 |
| - | |
53 | 75 |
| |
54 | 76 |
| |
55 | 77 |
| |
56 | 78 |
| |
57 | 79 |
| |
| 80 | + | |
| 81 | + | |
58 | 82 |
| |
59 | 83 |
| |
60 | 84 |
| |
|
paddle/phi/kernels/sparse/cpu/unary_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/cpu/unary_kernel.cc+25-1Lines changed: 25 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
81 | 104 |
| |
82 | 105 |
| |
83 | 106 |
| |
| |||
90 | 113 |
| |
91 | 114 |
| |
92 | 115 |
| |
93 |
| - | |
94 | 116 |
| |
95 | 117 |
| |
96 | 118 |
| |
97 | 119 |
| |
98 | 120 |
| |
99 | 121 |
| |
| 122 | + | |
| 123 | + | |
100 | 124 |
| |
101 | 125 |
| |
102 | 126 |
| |
|
paddle/phi/kernels/sparse/empty_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/empty_kernel.cc+13-6Lines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
| |||
48 | 47 |
| |
49 | 48 |
| |
50 | 49 |
| |
51 |
| - | |
52 | 50 |
| |
53 | 51 |
| |
54 | 52 |
| |
| |||
63 | 61 |
| |
64 | 62 |
| |
65 | 63 |
| |
66 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
82 | 84 |
| |
83 | 85 |
| |
84 | 86 |
| |
| |||
95 | 97 |
| |
96 | 98 |
| |
97 | 99 |
| |
98 |
| - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
99 | 103 |
| |
100 | 104 |
| |
101 | 105 |
| |
| |||
111 | 115 |
| |
112 | 116 |
| |
113 | 117 |
| |
114 |
| - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
115 | 121 |
| |
116 | 122 |
| |
| 123 | + | |
117 | 124 |
|
paddle/phi/kernels/sparse/gpu/mask_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/sparse/gpu/mask_kernel.cu+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
311 |
| - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
312 | 314 |
| |
313 | 315 |
| |
314 | 316 |
| |
| |||
322 | 324 |
| |
323 | 325 |
| |
324 | 326 |
| |
325 |
| - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
326 | 330 |
| |
327 | 331 |
|
You can’t perform that action at this time.
0 commit comments