Tensor ([1,2,3]).char() print(a.type()). 但是同名操作的功能是相同的,可以參見torch包。以下是所有torch.Tensor的操作: abs() → Tensor
確定! 回上一頁