导入pytorch import torch # 创建一个3x3全1矩阵,Tensor x1 = torch.ones(3, ... 创建一个empty Tensor x9 = torch.empty(3, 3) print(x9) # 创建一个Tensor, ...
確定! 回上一頁