unbind¶
- paddle.fluid.layers.nn. unbind ( input, axis=0 ) [source]
-
Removes a tensor dimension, then split the input tensor into multiple sub-Tensors. :param input: The input variable which is an N-D Tensor, data type being float32, float64, int32 or int64. :type input: Variable :param axis: A scalar with type
int32|int64
shape [1]. The dimension along which to unbind. If axis<0, thedimension to unbind along is rank(input)+axis. Default is 0.
- Returns
-
The list of segmented Tensor variables.
- Return type
-
list(Variable)
Example