Bind mlx arrays along an axis
Arguments
- ...
One or more arrays (or a single list of arrays) coercible via
as_mlx().- along
Positive integer giving the existing axis (1-indexed) along which to bind the inputs.
Details
This is an MLX-backed alternative to abind::abind(). All inputs must share
the same shape on non-bound axes. The along axis must already exist; to
create a new axis use mlx_stack().