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

feat: bitwise-ops-for-tensors #2498

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quinton11
Copy link
Contributor

Pull Request Template

Checklist

  • Confirmed that run-checks all script has been executed.
  • Made sure the book is up to date with changes in this PR.

Related Issues/PRs

#2234

Changes

Bitwise Operations for Tensors

  • Bitwise_And
  • Bitwise_Or
  • Bitwise_Xor
  • Bitwise_And_Scalar
  • Bitwise_Or_Scalar
  • Bitwise_Xor_Scalar
  • Bitwise_Not
  • Bitwise_left_shift
  • Bitwise_right_shift

Testing

The corresponding tests for the ops were included under the burn_tensor/tensor/tests directory.
Candle seems to not have bitwise operations so as it stands the implementation for the candle backend
is replaced with the todo macro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant