anirudh2290 commented on a change in pull request #13362: Add NHWC layout
support to Pooling (cuDNN only)
URL: https://github.com/apache/incubator-mxnet/pull/13362#discussion_r239658865
##########
File path: src/operator/nn/pooling-inl.h
##########
@@ -149,6 +162,9 @@ class PoolingOp {
void Forward(const OpContext& ctx, const TBlob& in_data,
const OpReqType& req, const TBlob& out_data) {
using namespace mshadow;
+ CHECK(param_.layout.value() == kNCW ||
+ param_.layout.value() == kNCHW ||
+ param_.layout.value() == kNCDHW) << "Need CuDNN for layout support";
Review comment:
can we also output the layout :
"Need CuDNN for layout support" << param_.layout.value()
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services