-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Rename elementwise_mean to mean #13419
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
|
@pytorchbot retest this please |
li-roy
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.
Thanks for the PR.
I'm okay with this, my only concern is NLLLoss (and maybe some others?), which does some sort of weighted average. SizeAverage was never a good name for it, but other ones such as "Normalize" might also not be that good.
|
@li-roy How about just |
|
Yeah, I like that |
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.
@ssnl is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
This is BC breaking in C++ API (since I removed Reduction::ElementwiseMean) so cc @goldsborough |
Summary: Closes #12459 Pull Request resolved: pytorch/pytorch#13419 Differential Revision: D12883299 Pulled By: SsnL fbshipit-source-id: 8b4512ff73b66fdc674412904dbb3bf497ba70a7
Closes #12459