human
How to make List from Numpy Matrix in Python
assistant
Here is some code to convert array `a` into a list

numpy.array(a).reshape(-1).tolist()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.