IntTensor(2, 4).zero_() 0 0 0 0 0 0 0 0 [torch.IntTensor of size 2x4]. 可以用python的索引和切片来获取和修改一个张量tensor中的内容: >>> x = torch.
確定! 回上一頁