torch.randn — PyTorch 1.10.1 documentation
pytorch.org › docs › stableReturns a tensor filled with random numbers from a normal distribution with mean 0 and variance 1 (also called the standard normal distribution). out i ∼ N ( 0, 1) \text {out}_ {i} \sim \mathcal {N} (0, 1) outi. . ∼ N (0,1) The shape of the tensor is defined by the variable argument size. Parameters.