Skip to content

Adding bitwise ops #3120

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

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Conversation

AshAnand34
Copy link
Contributor

@AshAnand34 AshAnand34 commented Apr 30, 2025

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

#1714

Changes

Developed the bitwise operators in burn while following the steps from the contributor book:

  • BitShift
  • BitwiseAnd
  • BitwiseNot
  • BitwiseOr
  • BitwiseXor

Testing

Developed unit tests for each of the bitwise operators.

@antimora antimora added the onnx label May 5, 2025
@AshAnand34 AshAnand34 marked this pull request as ready for review May 7, 2025 06:20
Copy link
Member

@laggui laggui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the scalar case is not correctly handled (see CI errors).

Also, the ONNX tests refactor in #3144 (merged) have introduced a minor conflict with the removal of the test_onnx.rs file.

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

Successfully merging this pull request may close these issues.

3 participants