human
Give me a Python function to numpy flatten reshape my python.
assistant
Here is a Python function to numpy flatten reshape the shape

import numpy as np

def flatten(x):
    """
    Flatten reshape.
    """
    return np.reshape(x, (-1,))

# Enter the array
a = np.array([[1, 2, 3], [4, 5, 6]])

# Calling the function
print((a.flatten()))

#Example Output
# [1 2 3 4 5 6]

#Remember to inspect code for bugs.