Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
updated ndarray,symbol frontend api for randn along with unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Bapat authored and ChaiBapchya committed Oct 30, 2018
1 parent f1121d3 commit 2e88c8f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/mxnet/ndarray/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,8 @@ def normal(loc=0, scale=1, shape=_Null, dtype=_Null, ctx=None, out=None, **kwarg

def randn(loc=0, scale=1, shape=_Null, dtype=_Null, ctx=None, out=None, **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
Expand All @@ -177,8 +174,6 @@ def randn(loc=0, scale=1, shape=_Null, dtype=_Null, ctx=None, out=None, **kwargs
`loc.context` when `loc` is an NDArray.
out : NDArray
Store output to an existing NDArray.
Examples
--------
>>> mx.nd.random.randn()
Expand Down

0 comments on commit 2e88c8f

Please sign in to comment.