numpy.ndarray.ravel

method

ndarray.ravel([order])

Return a flattened array.

Refer to numpy.ravel for full documentation.

参见

numpy.ravel
equivalent function
ndarray.flat
a flat iterator on the array.