numpy库ndarray多维数组的维度变换方法(reshape、resize、swapaxes、flatten)