-
Notifications
You must be signed in to change notification settings - Fork 608
Add pass for decomposing (log)softmax #6287
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6287
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 8a7be5c with merge base f6778d5 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
""" | ||
if op in edge_softmax: | ||
return ( | ||
exir_ops.edge.aten.log.default, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit can we use getattr
and string concat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a neat suggestion, I'll keep it in mind when implementing a similar decomposition in the future
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
3 similar comments
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Rebase please? |
Signed-off-by: Erik Lundell <[email protected]> Change-Id: Ifda9b5a557ee29af5abc64569c51ec6bd6421c66
c0e420e
to
8a7be5c
Compare
@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Change-Id: Ifda9b5a557ee29af5abc64569c51ec6bd6421c66