nn.init functions only run simple in-place init operations (without autograd) on the Tensor that represent the params. As you can see here 2 (called there 1).
These operations don’t have any side effects except the change of values in the param Tensor.