torch.func.grad\_and\_value =========================== .. currentmodule:: torch.func .. autofunction:: grad_and_value