-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix unflatten when dim is a negative integer #31208
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
Changelog: - Wrap dim to be a positive integer when dim is negative Test plan: - Updated tests in test_namedtensor.py
zou3519
left a comment
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.
Thank you!
facebook-github-bot
left a comment
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.
@zou3519 is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@zou3519 is this good to go? I see some failing internals tests. |
|
@vishwakftw Yeah this should be good to go. I'm going to trigger the land again |
Summary: Changelog: - Wrap dim to be a positive integer when dim is negative Pull Request resolved: pytorch#31208 Test Plan: - Updated tests in test_namedtensor.py Fixes pytorch#31184 Differential Revision: D19036569 Pulled By: zou3519 fbshipit-source-id: 86e01e20988dee7c4b6c73232f66282d687f9a2c
Summary: Changelog: - Wrap dim to be a positive integer when dim is negative Pull Request resolved: pytorch#31208 Test Plan: - Updated tests in test_namedtensor.py Fixes pytorch#31184 Differential Revision: D19036569 Pulled By: zou3519 fbshipit-source-id: 86e01e20988dee7c4b6c73232f66282d687f9a2c
Changelog:
Test plan:
Fixes #31184