You can easily use torch.Tensor.normal_() method. Let's create a matrix Z (a 1d tensor) of dimension 1 × 5 , filled with random elements ...
確定! 回上一頁