#保存 data.tofile("filename.bin") #读取 A=np.fromfile("filename.bin") #转换 aaa=np.reshape(A,(a,b,c)) #a,b,c为第一,二,三维