2.2 Tensor --> List: Tensor 变量.numpy().tolist(). a = [1, 2, 3, 4] b = torch.Tensor(a) c = b.numpy().tolist(). 1; 2; 3. 在这里插入图片描述
確定! 回上一頁