piotrwolinski-intel commented on a change in pull request #20855:
URL: https://github.com/apache/incubator-mxnet/pull/20855#discussion_r827037618



##########
File path: src/operator/contrib/adaptive_avg_pooling.cc
##########
@@ -27,11 +27,13 @@
 #include "../operator_common.h"
 #include "adaptive_avg_pooling-inl.h"
 #if MXNET_USE_MKLDNN == 1
+#include "../nn/mkldnn/mkldnn_base-inl.h"
 #include "../nn/mkldnn/mkldnn_pooling-inl.h"
 #endif  // MXNET_USE_MKLDNN
 
 #define START_IND(a, b, c) static_cast<int>(std::floor(static_cast<float>(a * 
c) / b))
 #define END_IND(a, b, c) static_cast<int>(std::ceil(static_cast<float>((a + 1) 
* c) / b))
+#define DIV_ROUND_UP(a, b) ((a + (b - 1)) / b)

Review comment:
       Done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to