torch.cuda.check\_error ======================= .. currentmodule:: torch.cuda .. autofunction:: check_error