haojin2 commented on a change in pull request #17541: [numpy] add op 
random.rayleigh
URL: https://github.com/apache/incubator-mxnet/pull/17541#discussion_r378675708
 
 

 ##########
 File path: python/mxnet/symbol/numpy/random.py
 ##########
 @@ -382,6 +383,42 @@ def gamma(shape, scale=1.0, size=None, dtype=None, 
ctx=None, out=None):
     raise ValueError("Distribution parameters must be either _Symbol or 
numbers")
 
 
+def rayleigh(scale=0.0, size=None, ctx=None, out=None):
+    r"""Draw samples from a Rayleigh distribution.
+
+    The :math:`\chi` and Weibull distributions are generalizations of the
+    Rayleigh.
+
+    Parameters
+    ----------
+    scale : float or _Symbol of floats
 
 Review comment:
   not `float or _Symbol of floats`, should simply be `float or _Symbol`

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

Reply via email to