torch.reshape /torch.Tensor.reshape. 2018-11-03 254 ... x = np.transpose(x,axes=(1,0,2,3)). 把x 轉置 ... transpose axes 引數的指的就是這個shape的索引
確定! 回上一頁