CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 12:33:36 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/"495c59e3849445b0ae97eb09a4b7dc95"
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=0FPyiofUP9OtuNzUJDZ7%2F%2BLkTOYNsKPgnYUKOKFfTsuaO5n9e%2B7JsWjMO8kEbuEzVcRD4zZH4wwttOPnxnTi1LOB9kqCI5%2B%2BJN9esVV%2Fa8v6rfrEwSeIa3d2puTGEJO1NW8uoBJJMV0wAqXwwXr8nT83BQF2Wxbg%2BmXwNbNvm%2BKDi%2FzyR6sxOLfKLIGG0QrgVcREtwq%2Ftph48JsNOYZ7jBITbHNtts%2FdqEuJar77rw0oi2m%2FlcdEwKgf8O%2BBMxpYC4QuNpeqLIfWNTd78xYs8A%3D%3D--L97YsttqvwbcpxhC--aU1QF3aE0wze6MbdH4EeBg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1252852574.1753446815; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 12:33:35 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 12:33:35 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 98EE:1D2B8F:94766A:ADAAB3:6883799F
【complex op】No.6 add complex support for logical_and/or/xor/not (#56323) · PaddlePaddle/Paddle@5cbf5bd · GitHub
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/logical_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/kps/logical_kernel.cu
Copy file name to clipboardExpand all lines: python/paddle/tensor/logic.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_logical_op.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 5cbf5bd
authored
【complex op】No.6 add complex support for logical_and/or/xor/not (#56323)
* 【complex op】No.6 add complex support for logical_and/or/xor/not
* fix dtype check
* modify the docs
* add special condition for not raise when x.dtype is complex
* add random generate for complex dtype
* fix generate for complex
* fix
* fix
* add corner case for complex type
* fix ut
* fix ut1 parent fc1e505 commit 5cbf5bdCopy full SHA for 5cbf5bd
File tree
Expand file treeCollapse file tree
4 files changed
+59
-8
lines changedFilter options
- paddle/phi/kernels
- cpu
- kps
- python/paddle/tensor
- test/legacy_test
Expand file treeCollapse file tree
4 files changed
+59
-8
lines changedpaddle/phi/kernels/cpu/logical_kernel.cc
Copy file name to clipboardExpand all lines: paddle/phi/kernels/cpu/logical_kernel.cc+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
| 81 | + | |
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
|
paddle/phi/kernels/kps/logical_kernel.cu
Copy file name to clipboardExpand all lines: paddle/phi/kernels/kps/logical_kernel.cu+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
| 100 | + | |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
|
python/paddle/tensor/logic.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/logic.py+11-7Lines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| 56 | + | |
| 57 | + | |
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
| |||
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
| 75 | + | |
| 76 | + | |
73 | 77 |
| |
74 | 78 |
| |
75 | 79 |
| |
| |||
114 | 118 |
| |
115 | 119 |
| |
116 | 120 |
| |
117 |
| - | |
118 |
| - | |
| 121 | + | |
| 122 | + | |
119 | 123 |
| |
120 | 124 |
| |
121 | 125 |
| |
| |||
173 | 177 |
| |
174 | 178 |
| |
175 | 179 |
| |
176 |
| - | |
177 |
| - | |
| 180 | + | |
| 181 | + | |
178 | 182 |
| |
179 | 183 |
| |
180 | 184 |
| |
| |||
234 | 238 |
| |
235 | 239 |
| |
236 | 240 |
| |
237 |
| - | |
238 |
| - | |
| 241 | + | |
| 242 | + | |
239 | 243 |
| |
240 | 244 |
| |
241 | 245 |
| |
| |||
296 | 300 |
| |
297 | 301 |
| |
298 | 302 |
| |
299 |
| - | |
| 303 | + | |
300 | 304 |
| |
301 | 305 |
| |
302 | 306 |
| |
|
test/legacy_test/test_logical_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_logical_op.py+44-1Lines changed: 44 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
| |||
124 | 126 |
| |
125 | 127 |
| |
126 | 128 |
| |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
127 | 133 |
| |
128 | 134 |
| |
129 | 135 |
| |
| |||
169 | 175 |
| |
170 | 176 |
| |
171 | 177 |
| |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
172 | 213 |
| |
173 | 214 |
| |
174 | 215 |
| |
| |||
180 | 221 |
| |
181 | 222 |
| |
182 | 223 |
| |
183 |
| - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
184 | 227 |
| |
185 | 228 |
| |
186 | 229 |
| |
|
You can’t perform that action at this time.
0 commit comments