cupy.ravel¶
-
cupy.ravel(a)[source]¶ Returns a flattened array.
It tries to return a view if possible, otherwise returns a copy.
This function currently does not support
orderoption.Parameters: a (cupy.ndarray) – Array to be flattened. Returns: A flattened view of aif possible, otherwise a copy.Return type: cupy.ndarray See also