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