chainer.functions.separate¶
-
chainer.functions.separate(x, axis=0)[source]¶ Separates an array along a given axis.
This function separates an array along a given axis. For example, shape of an array is
(2, 3, 4). When it separates the array withaxis=1, it returns three(2, 4)arrays.This function is an inverse of
chainer.functions.stack().Parameters: - x (chainer.Variable) – Variable to be separated.
- axis (int) – Axis along which variables are separated.
Returns: Output variables.
Return type: tuple of chainer.Variable
See also