torch.cuda.synchronize ====================== .. currentmodule:: torch.cuda .. autofunction:: synchronize