Generate a normal (Gaussian) distribution.
For a uniform distribution, see rand.
// 128x8 gaussian tensor const t = sm.randn([128, 8])
A new Tensor of random values sampled from a Gaussian distribution
The shape of the output Tensor
Generated using TypeDoc
Generate a normal (Gaussian) distribution.
Remarks
For a uniform distribution, see rand.
Example
Returns
A new Tensor of random values sampled from a Gaussian distribution