pytorch 中的reshape()、view()、transpose()和flatten() ... 1import torch 2import numpy as np 3a = np.arange(24) 4b = a.reshape(4,3,2) 5print(np.shape(a)) ...
確定! 回上一頁