axes:整数的列表,对应维度,通常所有维度都会翻转。 import numpy as np a = np.arange(24).reshape(2, 3, 4) print(a) b = np.array(np.transpose(a)) print(b) ...
確定! 回上一頁