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

[TOSA] Add div rounding mode, remainder, fmod, and ge.Tensor ops support #3717

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

Conversation

justin-ngo-arm
Copy link
Contributor

  • Add legalization for aten.div rounding mode:
    • trunc: rounds division results towards zero
    • floor: rounds division results down
  • Add legalization for aten.remainder.Scalar and aten.fmod ops
  • Add legalization for aten.ge.Tensor op
  • Update e2e tests in xfail_sets.py
  • Update basic.mlir with new legalized ops

Signed-off-by: Justin Ngo [email protected]
Change-Id: Icedd23205254fb893ce6f3de08956772b83b4320

- Add legalization for aten.div rounding mode:
  + trunc: rounds division results towards zero
  + floor: rounds division results down
- Add legalization for aten.remainder.Scalar and aten.fmod ops
- Add legalization for aten.ge.Tensor op
- Update e2e tests in xfail_sets.py
- Update basic.mlir with new legalized ops

Signed-off-by: Justin Ngo <[email protected]>
Change-Id: Icedd23205254fb893ce6f3de08956772b83b4320
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