np.ravel
https://numpy.org/doc/stable/reference/generated/numpy.ravel.html
It is equivalent to reshape(-1, order=order).
np.reshapeと同じ
code:example.py
>> x = np.array(1, 2, 3], [4, 5, 6)
>> np.ravel(x)
array(1, 2, 3, 4, 5, 6)
>> x.reshape(-1)
array(1, 2, 3, 4, 5, 6)