-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[MKLDNN] support using any format in pooling backward #17900
[MKLDNN] support using any format in pooling backward #17900
Conversation
Hey @ElaineBao , Thanks for submitting the PR
CI supported jobs: [centos-gpu, unix-cpu, unix-gpu, miscellaneous, clang, windows-cpu, website, centos-cpu, windows-gpu, sanity, edge] Note: |
@mxnet-label-bot add [MKL] |
@mxnet-bot run ci [all] |
@@ -30,6 +30,11 @@ | |||
namespace mxnet { | |||
namespace op { | |||
|
|||
// This can be replaced by mkldnn::memory::desc::data_type() after 1.2 release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The master branch is using 1.2.2 release of DNNL now, so let's use data_type()
instead.
@mxnet-bot run ci [centos-cpu, unix-gpu, windows-gpu] |
Jenkins CI successfully triggered : [windows-gpu, unix-gpu, centos-cpu] |
@mxnet-bot run ci [windows-gpu] |
Jenkins CI successfully triggered : [windows-gpu] |
@mxnet-bot run ci [windows-gpu] |
Jenkins CI successfully triggered : [windows-gpu] |
The CI issue should be already addressed. Please rebase your PR and resolve the comments. Thanks. |
dc255c7
to
9b8223a
Compare
@mxnet-bot run ci [centos-gpu, unix-cpu, unix-gpu, miscellaneous, clang, centos-cpu, windows-gpu] |
Jenkins CI successfully triggered : [windows-gpu, unix-gpu, clang, unix-cpu, centos-cpu, miscellaneous, centos-gpu] |
9b8223a
to
12947f6
Compare
12947f6
to
c68ba17
Compare
@mxnet-bot run ci [centos-gpu, windows-gpu, unix-gpu] |
Jenkins CI successfully triggered : [windows-gpu, centos-gpu, unix-gpu] |
Please rebase the code and trigger CI again. |
@mxnet-bot run ci [centos-gpu, windows-gpu, unix-gpu] |
Jenkins CI successfully triggered : [unix-gpu, windows-gpu, centos-gpu] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and merging now.
* use any format in pooling backward * use data_type()
Description
Support using
any
format in pooling backward. For performance reasons, backward computations of pooling requires consistent memory format with the corresponding forward computations. Hence, usingany
format means it will align with forward memory format automatically, this avoids unnecessary reorder.@TaoLv @rongzha1 @PatricZhao please review.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments