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
Zero sized tensor support for repeat_interleave #23717
Conversation
Test failure is unrelated |
@pytorchbot rebase this please |
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.
Thanks for the fix!
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.
@mrshenli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@pytorchbot rebase this please |
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.
@mrshenli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Fixes pytorch/pytorch#22753 Pull Request resolved: pytorch/pytorch#23717 Differential Revision: D16623598 Pulled By: mrshenli fbshipit-source-id: 297a3274fb5a5b2fcc0c3ad601337d7eb29fdca2
@zasdfgbnm is there a reason that this function (repeat(Tensor)) is exposed at all? It's not documented and it looks like an implementation detail. |
@gchanan It is actually documented It is part of an implementation detail, but I feel it useful and it would be good to expose this as a shorter and faster way of doing My personal use case for this is: |
Fixes #22753