Tensor 與Pytorch 的關聯就類似於Array 與Python,就是一個元素,不用想太多 ... x = torch.tensor([2, 3]) print(x) # tensor([2, 3]) print(x.size()) # torch.
確定! 回上一頁