mlx.core.broadcast_to# broadcast_to(a: scalar | array, /, shape: Sequence[int], *, stream: None | Stream | Device = None) → array# Broadcast an array to the given shape. The broadcasting semantics are the same as Numpy. 參數: a (array) -- Input array. shape (list(int)) -- The shape to broadcast to. 回傳: The output array with the new shape. 回傳型別: array