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

Add support for asymetric padding in MKLDNN pool, conv and conv_transpose #21062

Merged

Conversation

grygielski
Copy link
Contributor

@grygielski grygielski commented Nov 6, 2019

Add support for asymetric padding (along with "VALID" and "SAME" padding algorithms) in MKL-DNN operators.

Current state:

  • Pooling

  • Convolution

  • Convolution Transpose

MKL-DNN operators with asymetric padding support: pool2d, conv2d, conv3d, conv_transpose
Possible improvements: Add more UTs

@jczaja @luotao1 @bingyanghuang please review

@grygielski grygielski changed the title [WIP] Add support for asymetric padding in MKLDNN pool, conv and conv_transpose Add support for asymetric padding in MKLDNN pool, conv and conv_transpose Nov 6, 2019
@luotao1 luotao1 added the Intel label Nov 7, 2019
@luotao1 luotao1 requested a review from jczaja November 7, 2019 07:04
Copy link
Contributor

@jczaja jczaja 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
Copy link
Contributor

luotao1 commented Nov 7, 2019

@zhangting2020 Please take a review!

@wangchaochaohu wangchaochaohu mentioned this pull request Nov 7, 2019
Copy link
Contributor

@zhangting2020 zhangting2020 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 3fda695 into PaddlePaddle:develop Nov 7, 2019
@luotao1
Copy link
Contributor

luotao1 commented Nov 7, 2019

Please cherry-pick to release/1.6 @grygielski

seiriosPlus pushed a commit to seiriosPlus/Paddle that referenced this pull request Dec 9, 2019
…pose (PaddlePaddle#21062)

* Add asymetric padding support for mkldnn pooling
test=develop

* Add asymetric padding support for mkldnn conv
test=develop

* Add asymetric padding support for mkldnn conv_transpose
test=develop
seiriosPlus pushed a commit to seiriosPlus/Paddle that referenced this pull request Dec 9, 2019
…pose (PaddlePaddle#21062)

* Add asymetric padding support for mkldnn pooling
test=develop

* Add asymetric padding support for mkldnn conv
test=develop

* Add asymetric padding support for mkldnn conv_transpose
test=develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants