haojin2 commented on a change in pull request #17254: [numpy] change unary
infer type
URL: https://github.com/apache/incubator-mxnet/pull/17254#discussion_r364603602
##########
File path: src/operator/numpy/np_elemwise_unary_op_basic.cu
##########
@@ -39,6 +39,10 @@ NNVM_REGISTER_OP(_np_copy)
NNVM_REGISTER_OP(__name$) \
.set_attr<FCompute>("FCompute<gpu>", UnaryOp::Compute<gpu, __kernel$>)
+#define MXNET_OPERATOR_REGISTER_NUMPY_UNARY_GPU2(__name$, __kernel$) \
Review comment:
same here, get a better name for this.
----------------------------------------------------------------
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