haojin2 commented on a change in pull request #14859: [numpy] Numpy-compatible
Mean
URL: https://github.com/apache/incubator-mxnet/pull/14859#discussion_r281815162
##########
File path: src/operator/numpy/np_broadcast_reduce_op_value.cc
##########
@@ -75,5 +75,56 @@ NNVM_REGISTER_OP(_backward_numpy_sum)
.set_num_inputs(1)
.set_attr<FCompute>("FCompute<cpu>", NumpyReduceAxesBackwardUseNone<cpu>);
+inline bool IsIntType(const int dtype) {
+ return (dtype >= 3);
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services