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

[MLIR][TORCH] Add e2e support for aten.atan2 #1117

Merged
merged 1 commit into from
Aug 2, 2022
Merged

Conversation

qedawkins
Copy link
Collaborator

Includes an additional conversion from math to libm in the reference backend needed to handle math::atan2.

@qedawkins
Copy link
Collaborator Author

This patch adds a pass to the refbackend based on the response found in a related LLVM discourse thread.

lib/Conversion/TorchToLinalg/Uncategorized.cpp Outdated Show resolved Hide resolved
lib/Dialect/Torch/Transforms/RefineTypes.cpp Outdated Show resolved Hide resolved
@qedawkins
Copy link
Collaborator Author

Can I also get confirmation that the way I added a pass to the refbackend is correct?

@ramiro050
Copy link
Collaborator

Can I also get confirmation that the way I added a pass to the refbackend is correct?

@silvasean PTAL

@silvasean
Copy link
Contributor

refbackend lgtm

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.

3 participants