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