Skip to content

chore(optim): wrap torch.autograd.grad() with torch.enable_grad() context#220

Open
XuehaiPan wants to merge 2 commits intometaopt:mainfrom
XuehaiPan:enable-grad
Open

chore(optim): wrap `torch.autograd.grad()` with `torch.enable_grad()` context#220
XuehaiPan wants to merge 2 commits intometaopt:mainfrom
XuehaiPan:enable-grad

Commits