mlx.core.set_default_stream

mlx.core.set_default_stream#

set_default_stream(stream: Stream) None#

設定預設串流。

This will make the given stream the default for the streams device. It will not change the default device.

參數:

stream (stream) -- Stream to make the default.