haojin2 commented on a change in pull request #15845: [Numpy] Implements ldexp operator URL: https://github.com/apache/incubator-mxnet/pull/15845#discussion_r313718758
########## File path: src/operator/numpy/np_elemwise_broadcast_op.cc ########## @@ -182,5 +182,79 @@ MXNET_OPERATOR_REGISTER_NP_BINARY_SCALAR(_npi_rpower_scalar) .set_attr<FCompute>("FCompute<cpu>", BinaryScalarOp::Compute<cpu, mshadow_op::rpower>) .set_attr<nnvm::FGradient>("FGradient", ElemwiseGradUseOut{"_backward_rpower_scalar"}); +MXNET_OPERATOR_REGISTER_BINARY_BROADCAST(_npi_ldexp) +.describe(R"code( + ldexp(x1, x2, out=None) Review comment: No need for docs here as this is now an internal operator. ---------------------------------------------------------------- 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 With regards, Apache Git Services