mlx.core.stack# stack(arrays: list[array], axis: int | None = 0, *, stream: None | Stream | Device = None) → array# Stacks the arrays along a new axis. 參數: arrays (list(array)) -- A list of arrays to stack. axis (int, optional) -- The axis in the result array along which the input arrays are stacked. Defaults to 0. stream (Stream, optional) -- Stream or device. Defaults to None. 回傳: The resulting stacked array. 回傳型別: array