CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 05:43:47 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/"f894f95b00a701f1a2609ec6c480ca72"
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=i6OXnrQnK9mRlBKDFXLpumTG9t%2BafGNt8EA5C1MV99uI5FcaSj3k9TGnmgPVvamDfKfpvDxvbRn9Tv1%2B9M%2BNdz1EUJ1QA1%2Fqul0vn%2FImbYsYY74cqmLuVXxm%2FqrZwNPbQ%2FgkVLdCv%2FQzG%2Fy3rmcoU8hOLlPU2BCQzSM9Goj%2Fm%2B9hl%2B56ne4MLi8n96WaaUAFheKOH94DcPSQmJAxR5bbvZHK7Y%2FfUW%2BJSpJE32kGVCCPiKZakbymICvtA45HAVrAku%2FbP5EYXzo768HjJgfCQg%3D%3D--Y9sC6%2FT2i%2FolCo%2Bb--AgbexrCDCRX81kUtK%2BXh5g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.245049614.1753681427; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 05:43:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 05:43:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 89D8:29FD1F:1475E67:1B012BF:68870E13
【Paddle Tensor No.21】:新增 bitwise_invert,复用已有接口 Tenosr.__invert__ (#69… · PaddlePaddle/Paddle@b084653 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/utils/magic_methods.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/logic.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_bitwise_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_inplace.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_math_op_patch_pir.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit b084653
authored
【Paddle Tensor No.21】:新增 bitwise_invert,复用已有接口 Tenosr.__invert__ (#69197)
* chore:Remove duplicate elements
* chore:Reuse API Tensor.__invert__() as Tensor.bitwise_invert()
* test:add test for Tensor.bitwise_invert()
* fix:paddle/__init__,tensor/__init__.py
* feature:define bitwise_invert
* doc: 修改bitwise_invert使用示例
* docs:remove 'it support broading...'
* refactor:remove bitwise_invert
* feature:add bitwise_invert_
* test:Add inplace test for bitwise_invet_
* test: Add unittest.TestCase for bitwise_invert
* test: remove testcase
* fix:Disable static graph mode in tests to allow numpy() usage
* chore:rename TestBitwiseInvert -> TestBitwiseInvertApi
* typos:bitwis->bitwise1 parent 2beb4bf commit b084653Copy full SHA for b084653
File tree
Expand file treeCollapse file tree
7 files changed
+97
-7
lines changedFilter options
- python/paddle
- jit/sot/utils
- tensor
- test/legacy_test
Expand file treeCollapse file tree
7 files changed
+97
-7
lines changed+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
| 247 | + | |
| 248 | + | |
247 | 249 |
| |
248 | 250 |
| |
249 | 251 |
| |
| |||
899 | 901 |
| |
900 | 902 |
| |
901 | 903 |
| |
| 904 | + | |
| 905 | + | |
902 | 906 |
| |
903 | 907 |
| |
904 | 908 |
| |
|
python/paddle/jit/sot/utils/magic_methods.py
Copy file name to clipboardExpand all lines: python/paddle/jit/sot/utils/magic_methods.py-2Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 | 81 |
| |
83 |
| - | |
84 | 82 |
| |
85 | 83 |
| |
86 | 84 |
| |
|
python/paddle/tensor/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/__init__.py+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
| 110 | + | |
| 111 | + | |
110 | 112 |
| |
111 | 113 |
| |
112 | 114 |
| |
| |||
729 | 731 |
| |
730 | 732 |
| |
731 | 733 |
| |
| 734 | + | |
| 735 | + | |
732 | 736 |
| |
733 | 737 |
| |
734 | 738 |
| |
|
python/paddle/tensor/logic.py
Copy file name to clipboardExpand all lines: python/paddle/tensor/logic.py+48Lines changed: 48 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1415 | 1415 |
| |
1416 | 1416 |
| |
1417 | 1417 |
| |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1418 | 1466 |
| |
1419 | 1467 |
| |
1420 | 1468 |
| |
|
test/legacy_test/test_bitwise_op.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_bitwise_op.py+22Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
441 | 463 |
| |
442 | 464 |
|
test/legacy_test/test_inplace.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_inplace.py+14-3Lines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1500 | 1500 |
| |
1501 | 1501 |
| |
1502 | 1502 |
| |
1503 |
| - | |
| 1503 | + | |
1504 | 1504 |
| |
1505 | 1505 |
| |
1506 | 1506 |
| |
1507 | 1507 |
| |
1508 | 1508 |
| |
1509 | 1509 |
| |
1510 | 1510 |
| |
1511 |
| - | |
| 1511 | + | |
1512 | 1512 |
| |
1513 | 1513 |
| |
1514 | 1514 |
| |
1515 | 1515 |
| |
1516 | 1516 |
| |
1517 | 1517 |
| |
1518 | 1518 |
| |
1519 |
| - | |
| 1519 | + | |
1520 | 1520 |
| |
1521 | 1521 |
| |
1522 | 1522 |
| |
| |||
1527 | 1527 |
| |
1528 | 1528 |
| |
1529 | 1529 |
| |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
1530 | 1541 |
| |
1531 | 1542 |
| |
1532 | 1543 |
| |
|
test/legacy_test/test_math_op_patch_pir.py
Copy file name to clipboardExpand all lines: test/legacy_test/test_math_op_patch_pir.py+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
| 171 | + | |
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
| |||
176 | 177 |
| |
177 | 178 |
| |
178 | 179 |
| |
179 |
| - | |
| 180 | + | |
| 181 | + | |
180 | 182 |
| |
181 | 183 |
| |
182 |
| - | |
| 184 | + | |
183 | 185 |
| |
184 | 186 |
| |
185 | 187 |
| |
186 | 188 |
| |
| 189 | + | |
187 | 190 |
| |
188 | 191 |
| |
189 | 192 |
| |
|
You can’t perform that action at this time.
0 commit comments