dpnp.random.normal
- dpnp.random.normal(loc=0.0, scale=1.0, size=None)[source]
Normal distribution.
Draw random samples from a normal (Gaussian) distribution.
For full documentation refer to
numpy.random.normal.Limitations
Parameters
locandscaleare supported as scalar. Otherwise,numpy.random.normal(loc, scale, size)samples are drawn. Output array data type isdpnp.float64.Examples
Draw samples from the distribution: >>> mu, sigma = 0, 0.1 # mean and standard deviation >>> s = dpnp.random.normal(mu, sigma, 1000)