Pytorch view() permute() contiguous() transpose(),原始tensorimporttorcha=torch.Tensor([[[1,2,3],[4,5,6],[7,8,9]]])print(a)print(a.size()) ...
確定! 回上一頁