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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!