mlx.data.Buffer.to_stream

mlx.data.Buffer.to_stream#

Buffer.to_stream(self: mlx.data._c.Buffer) mlx.data._c.Stream#

Make a stream that yields the elements of the buffer.