x = torch.zeros(5, 3, dtype=torch.long) print(x) ... torch.unsqueeze() # 类似dstack,只是是在第二个维度进行拼接 torch.vstack() # 对tensor 中 ...
確定! 回上一頁