ivy.concatenate(xs: List[ivy.NativeArray], axis: int = - 1, f: Optional[ivy.Framework] = None) → ivy.NativeArray[source]

Casts an array to a specified type.

  • xs (sequence of arrays) – The input arrays must have the same shape, except in the dimension corresponding to axis (the first, by default).

  • axis (int, optional) – The axis along which the arrays will be joined. Default is -1.

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


The concatenated array.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty