y = torch.randn(2,3,4) 'y.shape → [2,3,4]' 合法性不同 torch.transpose(x)合法, x.transpose()合法。 tensor.permute(x)不合法,x.permute()合法 ...
確定! 回上一頁