Skip to main content
Log in

Mojo function

random_normal

random_normal[rank: Int, type: DType, output_shape: DimList, mean: SIMD[float64, 1], variance: SIMD[float64, 1]](output: NDBuffer[type, rank, origin, output_shape])

Fill output with values generated from Normal(mean, variance) distribution.

Args:

  • output (NDBuffer[type, rank, origin, output_shape]): The output buffer.