TaoLv commented on a change in pull request #13084: [WIP] Test/mkldnn batch 
norm op
URL: https://github.com/apache/incubator-mxnet/pull/13084#discussion_r230408904
 
 

 ##########
 File path: tests/cpp/include/test_mkldnn.h
 ##########
 @@ -240,6 +244,38 @@ enum ArrayTypes {
   All = 8191,
 };
 
+
+inline NDArray CreateKernelNDArray(TShape kernel, int num_filters, TShape 
input,
+    bool is_deconv = false) {
+  CHECK(kernel.ndim() == 2) << "mkldnn only supports 2d filters on 4d inputs";
 
 Review comment:
   CHECK_EQ

----------------------------------------------------------------
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

Reply via email to