-
Notifications
You must be signed in to change notification settings - Fork 637
[Backend Tester] Add permute, transpose, and masked_fill tests #12850
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/12850
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 38 PendingAs of commit 831f814 with merge base 952fd1d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
||
def test_permute_3d(self, flow: TestFlow) -> None: | ||
self._test_op( | ||
PermuteModel(dims=[2, 0, 1]), |
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.
some test generator or Facto or even a meta class to generate permutations for permute might be better?
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.
Makes sense. Should be easy to use itertools for this, I think. I'll take this as a follow-up.
Add tests for permute, transpose, and masked_fill.