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_r223222808
 
 

 ##########
 File path: python/mxnet/ndarray/random.py
 ##########
 @@ -518,3 +518,47 @@ def shuffle(data, **kwargs):
     <NDArray 2x3 @cpu(0)>
     """
     return _internal._shuffle(data, **kwargs)
+
+
+def randint(low=0, high=1, shape=_Null, dtype=_Null, ctx=None, out=None, 
**kwargs):
+    """Draw random samples from a discrete uniform distribution.
+
+    Samples are uniformly distributed over the half-open interval *[low, high)*
+    (includes *low*, but excludes *high*).
+
+    Parameters
 
 Review comment:
   I followed the template of all the other random functions. None of them do 
it at the moment. Do you want me to add that to all of them?

----------------------------------------------------------------
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