RandomState.standard_normal()

numpy.random.RandomState.standard_normal

RandomState.standard_normal(size=None)

Draw samples from a standard Normal distribution (mean=0, stdev=1).

Parameters:

size : int or tuple of ints, optional

Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. Default is None, in which case a single value is returned.

Returns:

out : float or ndarray

Drawn samples.

Ex