mlx.core.synchronize# synchronize(stream: Optional[Stream] = None) → None# Synchronize with the given stream. Parameters: stream (Stream, optional) – The stream to synchronize with. If None then the default stream of the default device is used. Default: None.