Skip to content

Conversation

@Lallapallooza
Copy link
Contributor

  • Fix TorchToTosa's shared unary pattern so AtenBitwiseNotOp with i1 outputs emits tosa.logical_not instead of the tosa.bitwise_not.
  • Add a regression in test/Conversion/TorchToTosa/basic.mlir that checks the lowering path for a bool tensor.
  • Add a regression end-to-end test for bitwise_not with boolean.

- Fix TorchToTosa's shared unary pattern so AtenBitwiseNotOp with i1 outputs
emits tosa.logical_not instead of the tosa.bitwise_not.
- Add a regression in test/Conversion/TorchToTosa/basic.mlir that checks the
lowering path for a bool tensor.
- Add a regression end-to-end test for bitwise_not with boolean.

Change-Id: I1742adcd150d3a1ddb33b9dd58001d71f3e08860
@Lallapallooza
Copy link
Contributor Author

@sahas3 @sjarus can you please take a look?

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