import torch x = torch.empty(5, 3) # 生成空的矩阵print(x) x ... 基本使用方法(1.torch.empty, 2.torch.rand, 3.torch.zeros, 4.torch.tensor, ...
確定! 回上一頁