x = np.arange(24).reshape((4, 2, 3)) x_transpose = np.transpose(x, (1, 0, 2)) # 交換第一和二的維度1,0,2代表的是維度 x_reshape ...
確定! 回上一頁