hanke580 commented on a change in pull request #17857:
URL: https://github.com/apache/incubator-mxnet/pull/17857#discussion_r444793439



##########
File path: src/api/operator/numpy/np_elemwise_broadcast_logic_op.cc
##########
@@ -71,4 +71,12 @@ MXNET_REGISTER_API("_npi.less_equal")
   UFuncHelper(args, ret, op, op_scalar, op_rscalar);
 });
 
+MXNET_REGISTER_API("_npi.greater")
+.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
+  using namespace runtime;
+  const nnvm::Op* op = Op::Get("_npi_greater");
+  const nnvm::Op* op_scalar = Op::Get("_npi_greater_scalar");
+  UFuncHelper(args, ret, op, op_scalar, nullptr);

Review comment:
       Fixed Thx




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to