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.3168 -1.1078 0.8658 -0.6269 0.5245
#> -0.2218 2.9325 0.1645 -0.6746 1.0336
#> -0.3619 -0.2167 -0.5824 1.8980 -1.6161
#> [ CPUFloatType{3,5} ]