Fills the input Tensor with values drawn from the normal distribution
Examples
if (torch_is_installed()) {
w <- torch_empty(3, 5)
nn_init_normal_(w)
}
#> torch_tensor
#> 0.6098 3.0673 1.7994 -0.7141 1.0591
#> 0.6198 0.0492 0.1351 -0.0884 -0.5628
#> 0.3233 0.6413 0.1247 -0.6125 -1.3544
#> [ CPUFloatType{3,5} ]