Broadcast multiple arrays to a shared shape
mlx_broadcast_arrays.Rdmlx_broadcast_arrays() mirrors mlx.core.broadcast_arrays(),
returning a list of inputs expanded to a common shape.
Arguments
- ...
- One or more arrays (or a single list) convertible via - as_mlx().
- device
- Execution target: supply - "gpu",- "cpu", or an- mlx_streamcreated via- mlx_new_stream(). Default:- mlx_default_device().