From ND to 1D arrays,a.flatten()