I am new to PyTorch and machine learning in general and I wanted to make sure I understand weight initialization correctly. as I understand weight initialization can be done to all layers but if we choose to do it ourselves, we use the nn.init.any_type_of_weight_initialization(moudle.weight, *args). so I understand that the purpose is to replace the already initialized default weights(by module.weight) by the any_type_of_weight_initialization method we want. but while trying it, I found both module.weight and the one we initialized have the same weight entries. so my questions are:
- what is the default weight initialization method used in module.weight?
- do we really replace the already initialized weights by other methods or I am misunderstanding the whole process? thanks in advance