Tensor下的reshape,view,resize_来举例一、先来说一说reshape和view之间的区别相同点: ... x.reshape(3,4) x.shape ''' 输出:torch.Size([4, 3])
確定! 回上一頁