burn icon indicating copy to clipboard operation
burn copied to clipboard

Feature Request: Add Bitwise Operations for Tensors

Open wcshds opened this issue 5 months ago • 0 comments

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.

wcshds avatar Sep 01 '24 17:09 wcshds