In general, I highly recommend looking into PyTorch’s documentation, e.g. information about weight initialisation for torch.nn.Linear 1 can be found under Variables section. Same information can be found also in the source code - see reset_parameters() method of Linear class.