mlx.core.broadcast_arrays

mlx.core.broadcast_arrays#

broadcast_arrays(*arrays: array, stream: None | Stream | Device = None) Tuple[array, ...]#

Broadcast arrays against one another.

The broadcasting semantics are the same as Numpy.

參數:

*arrays (array) -- 輸入陣列。

回傳值:

The output arrays with the broadcasted shape.

回傳值型別:

tuple(array)