macro_rules! randn {
($($dim:expr),+) => { ... };
($type:ty; $($dim:expr),+) => { ... };
}Expand description
Create an array of given shape sampled from normal distribution
If no type argument is specified, the data type defaults to 32 bit floats.
ยงExamples
let mat10x10 = randn!(10, 10);