ivy.unstack(x, axis, f=None)[source]

Unpacks the given dimension of a rank-R array into rank-(R-1) arrays.

  • x (array) – Input array to unstack.

  • axis (int) – Axis for which to unpack the array.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.


List of arrays, unpacked along specified dimensions.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty