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
[pt2] add metas for mode
ops
#106273
[pt2] add metas for mode
ops
#106273
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/106273
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 0ea9809: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: c4cbd5465d7ca3e5d128cbf7d1d19afaac592211 Pull Request resolved: #106273
] | ||
) | ||
@out_wrapper("values", "indices") | ||
def meta_median_dim(input, dim=-1, keepdim=False): | ||
def meta_median_mode_dim(input, dim=-1, keepdim=False): |
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.
Same as median, but mode has one less aten variant (no variant without dim param).
From the list in #105105 |
[ghstack-poisoned]
ghstack-source-id: 0a621788d9cfa5f27512d5c89383aa0022ebc363 Pull Request resolved: #106273
[ghstack-poisoned]
ghstack-source-id: e6a304794e8d82c0a1305cccdf236432680e3e6c Pull Request resolved: #106273
[ghstack-poisoned]
ghstack-source-id: 42f30d77da3b235547e3272dc9e2a9638bf108f0 Pull Request resolved: #106273
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack:
mode
ops #106273median
ops #106272