Difference between Xavier weights pytorch implementation
What is the difference between nn.init.xavier_uniform and nn.init.xavier_uniform_ when initialising weights?

The _ convention in nn.init.xavier_uniform_ is PyTorch's way of doing an operation in place. This convention applies to many of its functions.
