torch.nn.init — PyTorch 1.10.1 documentation
pytorch.org › docs › stabletorch.nn.init.xavier_uniform_(tensor, gain=1.0) [source] Fills the input Tensor with values according to the method described in Understanding the difficulty of training deep feedforward neural networks - Glorot, X. & Bengio, Y. (2010), using a uniform distribution. The resulting tensor will have values sampled from