Skip to content

Support excluded and included mode for average pooling. #10235

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

Closed
wants to merge 6 commits into from

Conversation

qingqing01
Copy link
Contributor

Fix #10234

Also, fix the cpplint.

"exclude_mode",
"(bool, default True) Whether to exclude the padding cells when "
"calculating, but only work when pooling_type is avg. The defalut "
"is exclude mode.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have more detail description here.
how does exclude_mode play with pooling_type

Should this be called exclude_padding?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the description and change name to exclude_pad, which is more clear. Thanks very much! @panyx0718

@qingqing01 qingqing01 force-pushed the pooling branch 2 times, most recently from 4099b22 to 1f13d95 Compare April 28, 2018 05:04
@qingqing01 qingqing01 closed this Jul 10, 2018
@qingqing01 qingqing01 deleted the pooling branch November 14, 2019 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support excluded and included mode for average pooling.
2 participants