Skip to content

Conversation

@ssnl
Copy link
Collaborator

@ssnl ssnl commented Oct 31, 2018

Closes #12459

@ssnl
Copy link
Collaborator Author

ssnl commented Oct 31, 2018

@pytorchbot retest this please

Copy link
Contributor

@li-roy li-roy left a 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.

@ssnl
Copy link
Collaborator Author

ssnl commented Oct 31, 2018

@li-roy How about just average? :)

@li-roy
Copy link
Contributor

li-roy commented Nov 1, 2018

Yeah, I like that

@ssnl ssnl changed the title Rename elementwise_mean to size_average Rename elementwise_mean to mean Nov 1, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@ssnl
Copy link
Collaborator Author

ssnl commented Nov 1, 2018

This is BC breaking in C++ API (since I removed Reduction::ElementwiseMean) so cc @goldsborough

@ssnl ssnl deleted the size_average branch November 1, 2018 17:35
zdevito pushed a commit to zdevito/ATen that referenced this pull request Nov 1, 2018
Summary:
Closes #12459
Pull Request resolved: pytorch/pytorch#13419

Differential Revision: D12883299

Pulled By: SsnL

fbshipit-source-id: 8b4512ff73b66fdc674412904dbb3bf497ba70a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename elementwise_mean to size_average

4 participants