https://www.cnblogs.com/mzct123/p/8659193.html ravel()与flatten()都是array的扁平化处理,但ravel与原array共享内存,flatten这是形成一个新的扁平化array