chainerx.ravel¶
-
chainerx.ravel(a)¶ Returns a flattened array.
It tries to return a view if possible, otherwise returns a copy.
- Parameters
a (ndarray) – Array to be flattened.
- Returns
A flattened view of
aif possible, otherwise a copy.- Return type
Note
During backpropagation, this function propagates the gradient of the output array to the input array
a.See also