Function 1 - torch.rand. Returns a tensor of random numbers from a uniform distribution between 0 and 1. In [3]:. # Example 1 - working torch.rand(5).
確定! 回上一頁