Skip to content
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

Enhance AvgPooling to support both include_mode and exclude_mode #6100

Merged
merged 5 commits into from
Dec 6, 2017

Conversation

guoshengCS
Copy link
Contributor

@guoshengCS guoshengCS commented Nov 30, 2017

resolve #6099

When configuring, use exclude_mode to indicate whether to exclude the padding cells when calculating, but only work when pool_type is AvgPooling. If use cudnn, use CudnnAvgPooling
or CudnnAvgInclPadPooling as pool_type to identify the mode.

I have validated the output.

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit de80c56 into PaddlePaddle:develop Dec 6, 2017
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.

How to select include_mode or exclude_mode AvgPooling
2 participants