public static randn(shape as IList<Int>) as NDArray<T>:
Creates a NDArray sampled from a normal-like distribution using read-only shape dimensions.
| Parameter | Description |
|---|---|
shape | Shape dimensions. |
A random NDArray with mean close to 0.
a = NDArray<Double>.randn([2, 3]) print(a)