torch.is\_grad\_enabled ======================= .. currentmodule:: torch .. autofunction:: is_grad_enabled