ChaiBapchya commented on a change in pull request #12749: [MXNET-1029] Feature 
request: randint operator
URL: https://github.com/apache/incubator-mxnet/pull/12749#discussion_r223204350
 
 

 ##########
 File path: src/operator/random/sample_op.cc
 ##########
 @@ -171,5 +172,23 @@ Example::
 .set_attr<FCompute>("FCompute<cpu>", Sample_<cpu, 
GeneralizedNegativeBinomialSampler<cpu>>)
 .set_attr<FComputeEx>("FComputeEx<cpu>", SampleEx_<cpu, 
GeneralizedNegativeBinomialSampler<cpu>>);
 
+MXNET_OPERATOR_REGISTER_SAMPLE(_random_randint, SampleRandIntParam)
+.add_alias("random_randint")
+.describe(R"code(Draw random samples from a uniform distribution.
+
+Samples are uniformly distributed over the half-open interval *[low, high)*
 
 Review comment:
   Yup, noted

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to