mlx.core.concatenate

目录

mlx.core.concatenate#

concatenate(arrays: list[array], axis: int | None = 0, *, stream: None | Stream | Device = None) array#

Concatenate the arrays along the given axis.

参数:
  • arrays (list(array)) -- Input list or tuple of arrays.

  • axis (int, optional) -- Optional axis to concatenate along. If unspecified defaults to 0.

返回:

The concatenated array.

返回类型:

array