Skip to content

Comments

Enhance AvgPooling to support both include_mode and exclude_mode#6100

Merged
luotao1 merged 5 commits intoPaddlePaddle:developfrom
guoshengCS:enhance-include-pool
Dec 6, 2017
Merged

Enhance AvgPooling to support both include_mode and exclude_mode#6100
luotao1 merged 5 commits intoPaddlePaddle:developfrom
guoshengCS:enhance-include-pool

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