最初学的时候有点潦草,不多说,进例子首先来个二维的import torch a=torch.tensor([[1,2,3],[-1,3,2]])print(a.shape)b=torch.argmax(a,dim=0)print(b)'''torch.
確定! 回上一頁