-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Replaces const ref with && for apply #9175
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
f55ced6 to
843ee9a
Compare
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.
@marymcbreen has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
torch/csrc/autograd/engine.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/csrc/autograd/function.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
843ee9a to
dc8a69a
Compare
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.
@marymcbreen has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
586479d to
9b061b7
Compare
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.
@marymcbreen has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
9b061b7 to
a0e7714
Compare
|
Sorry for the churn on this. |
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.
@marymcbreen has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
zdevito
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.
This looks good! I spot checked the places where move was added and didn't see any cases where the inputs were used after the move. A few minor formatting things and it is good to go.
torch/csrc/autograd/engine.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/csrc/autograd/engine.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
a0e7714 to
a320f48
Compare
|
Updated for formatting. |
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.
@marymcbreen has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
a320f48 to
5dbed6f
Compare
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.
@zdevito has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Addresses pytorch#5011 Tested with python test/test_autograd.py Pull Request resolved: pytorch#9175 Reviewed By: zdevito Differential Revision: D8736377 Pulled By: marymcbreen fbshipit-source-id: ff86f427f7b2cf0cab5912e7f32812bd0f49a712
Addresses #5011
Tested with python test/test_autograd.py