ChaiBapchya commented on a change in pull request #15772: Add symbol api for
randn and fix shape issue for randn ndarray and symbol api
URL: https://github.com/apache/incubator-mxnet/pull/15772#discussion_r311689799
##########
File path: python/mxnet/symbol/random.py
##########
@@ -113,6 +113,31 @@ def normal(loc=0, scale=1, shape=_Null, dtype=_Null,
**kwargs):
[loc, scale], shape, dtype, kwargs)
+def randn(*shape, **kwargs):
+ """Draw random samples from a normal (Gaussian) distribution.
+
+ Samples are distributed according to a normal distribution parametrized
+ by *loc* (mean) and *scale* (standard deviation).
+
+
+ Parameters
+ ----------
+ loc : float or NDArray
Review comment:
correct!
----------------------------------------------------------------
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