# torch.Tensor(1,2,3) 与 torch.Tensor([1,2,3]) 的区别torch.Tensor(1,2,3) # 生成一个 shape 为 [1,2,3] 的 tensortorch.Tensor([1,2,3]) # 生成一个值为 [1,2,3] 的 tensor