Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Bitwise Operations for Tensors #2234

Open
wcshds opened this issue Sep 1, 2024 · 2 comments
Open

Feature Request: Add Bitwise Operations for Tensors #2234

wcshds opened this issue Sep 1, 2024 · 2 comments
Labels
feature The feature request help wanted Extra attention is needed

Comments

@wcshds
Copy link
Contributor

wcshds commented Sep 1, 2024

Bitwise operations are very common, and most deep learning frameworks support these operations. However, Burn seems to lack support for them.

For me, if bitwise operations were available, I could easily implement NumPy's packbits and unpackbits functions in Burn. These functions would help me save 87.5% of the space when storing tensors in one-hot or multi-hot representations.

@nathanielsimard nathanielsimard added help wanted Extra attention is needed feature The feature request labels Sep 9, 2024
@aybdee
Copy link

aybdee commented Oct 28, 2024

is it okay if i work on this ?
i'm new to open source

@AsherJingkongChen
Copy link
Contributor

AsherJingkongChen commented Nov 2, 2024

i'm new to open source

@aybdee Check out the Contributing file and Adding a New Operation in the book.
You can open PR (or draft PR) if you have decided to contribute.
Link an issue if there is any (see this to link issues).
Members will review if it is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature The feature request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants