cupy.random.standard_normal#

cupy.random.standard_normal(size=None, dtype=<class 'float'>)[source]#

Returns an array of samples drawn from the standard normal distribution.

This is a variant of cupy.random.randn().

Parameters:
  • size (int or tuple of ints) – The shape of the array. If None, a zero-dimensional array is generated.

  • dtype – Data type specifier.

Returns:

Samples drawn from the standard normal distribution.

Return type:

cupy.ndarray