mlx.core.synchronize# synchronize(stream: Optional[Stream] = None) → None# 与给定流同步。 参数: stream (Stream, 可选) – 要同步的流。如果为 None,则使用默认设备的默认流。默认值:None。