CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 06:12:53 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/"82fee808ca7ef4cfff3e80024fb255a1"
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=viyMNiGNKLAwDaQz1KfteCzL8ZZKjk1NUP7E1k8W1Y5i8Fgu2n1A5klX%2Bl3dcIWUajoNyzSADqXh9Kx50vhWiQ3AQfwTNNtIwfKDqC4wIFUeSOX1pUYif%2FT02wbC1x16VWFWhsvwCBnKXCDjlpw3zRfttuzZqyrNHir9S%2FVS3bT2L41wbnng2LE%2FLe97yyEthMUUNk%2Bw%2FJmOl8fbsOkHurY0P3uqSM1uzwstovXws%2B%2FlU3ejmStzLrpqW6Dib8X0wF6m5hKXperc%2F0VqyGLTmw%3D%3D--ztoXLd50jWRYgNlZ--%2FeCET%2BTNbPfHgyzXtaOAvw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.600412924.1753337572; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 06:12:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 06:12:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AAC8:0A76:43866F:583419:6881CEE4
【complex op】 add complex support for tril,triu and tril_triu (#58532) · PaddlePaddle/Paddle@740e4f8 · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/tril_triu_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/tril_triu_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/tril_triu_grad_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/tril_triu_kernel.cu
Copy file name to clipboardExpand all lines: python/paddle/tensor/creation.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_tril_triu_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 740e4f8
authored
【complex op】 add complex support for tril,triu and tril_triu (#58532)
* [complex] add complex support for tril,triu and tril_triu
* complex tril_triu for xpu
* [complex] add complex support for tril,triu and tril_triu
* [complex] add complex support for tril,triu and tril_triu only cpu and gpu1 parent 362d1b9 commit 740e4f8Copy full SHA for 740e4f8
File tree
Expand file treeCollapse file tree
6 files changed
+109
-19
lines changedFilter options
- paddle/phi/kernels
- cpu
- gpu
- python/paddle/tensor
- test/legacy_test
Expand file treeCollapse file tree
6 files changed
+109
-19
lines changedpaddle/phi/kernels/cpu/tril_triu_grad_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/tril_triu_grad_kernel.cc+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| |||
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 |
| |
41 | 45 |
| |
42 | 46 |
| |
| |||
47 | 51 |
| |
48 | 52 |
| |
49 | 53 |
| |
50 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + |
paddle/phi/kernels/cpu/tril_triu_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/tril_triu_kernel.cc+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| |||
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 |
| |
41 | 45 |
| |
42 | 46 |
| |
| |||
47 | 51 |
| |
48 | 52 |
| |
49 | 53 |
| |
50 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + |
paddle/phi/kernels/gpu/tril_triu_grad_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/tril_triu_grad_kernel.cu+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
| |||
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
| |||
50 | 54 |
| |
51 | 55 |
| |
52 | 56 |
| |
53 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + |
paddle/phi/kernels/gpu/tril_triu_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/gpu/tril_triu_kernel.cu+9-3Lines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
| |||
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 |
| |
43 | 47 |
| |
44 | 48 |
| |
| |||
50 | 54 |
| |
51 | 55 |
| |
52 | 56 |
| |
53 |
| - | |
| 57 | + | |
| 58 | + | |
| 59 | + |
python/paddle/tensor/creation.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/creation.py+13-3Lines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1435 | 1435 |
| |
1436 | 1436 |
| |
1437 | 1437 |
| |
1438 |
| - | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
1439 | 1449 |
| |
1440 | 1450 |
| |
1441 | 1451 |
| |
| |||
1474 | 1484 |
| |
1475 | 1485 |
| |
1476 | 1486 |
| |
1477 |
| - | |
| 1487 | + | |
1478 | 1488 |
| |
1479 | 1489 |
| |
1480 | 1490 |
| |
| |||
1549 | 1559 |
| |
1550 | 1560 |
| |
1551 | 1561 |
| |
1552 |
| - | |
| 1562 | + | |
1553 | 1563 |
| |
1554 | 1564 |
| |
1555 | 1565 |
| |
|
test/legacy_test/test_tril_triu_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_tril_triu_op.py+60-4Lines changed: 60 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 |
| |
62 | 67 |
| |
63 | 68 |
| |
64 | 69 |
| |
65 | 70 |
| |
66 | 71 |
| |
67 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
68 | 83 |
| |
69 | 84 |
| |
70 | 85 |
| |
| |||
146 | 161 |
| |
147 | 162 |
| |
148 | 163 |
| |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
149 | 182 |
| |
150 | 183 |
| |
151 | 184 |
| |
| |||
158 | 191 |
| |
159 | 192 |
| |
160 | 193 |
| |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
161 | 202 |
| |
162 | 203 |
| |
163 | 204 |
| |
| |||
185 | 226 |
| |
186 | 227 |
| |
187 | 228 |
| |
188 |
| - | |
| 229 | + | |
189 | 230 |
| |
190 | 231 |
| |
191 | 232 |
| |
| |||
204 | 245 |
| |
205 | 246 |
| |
206 | 247 |
| |
207 |
| - | |
| 248 | + | |
208 | 249 |
| |
209 | 250 |
| |
210 | 251 |
| |
| |||
213 | 254 |
| |
214 | 255 |
| |
215 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
216 | 262 |
| |
217 | 263 |
| |
218 | 264 |
| |
| |||
232 | 278 |
| |
233 | 279 |
| |
234 | 280 |
| |
235 |
| - | |
| 281 | + | |
236 | 282 |
| |
237 | 283 |
| |
238 | 284 |
| |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
239 | 290 |
| |
240 | 291 |
| |
241 | 292 |
| |
| |||
248 | 299 |
| |
249 | 300 |
| |
250 | 301 |
| |
251 |
| - | |
| 302 | + | |
252 | 303 |
| |
253 | 304 |
| |
254 | 305 |
| |
| |||
257 | 308 |
| |
258 | 309 |
| |
259 | 310 |
| |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
260 | 316 |
| |
261 | 317 |
| |
262 | 318 |
| |
|
You can’t perform that action at this time.
0 commit comments