chainer.functions.flip¶
-
chainer.functions.flip(x, axis)[source]¶ Flips an input variable in reverse order along the given axis.
Parameters: - x (
Variableornumpy.ndarrayorcupy.ndarray) – Input variable. - axis (int) – Axis along which the input variable is reversed.
Returns: Output variable.
Return type: - x (