评价此页

torch.mtia.synchronize#

torch.mtia.synchronize(device=None)[source]#

等待 MTIA 设备上所有流中的所有作业完成。