Commit Graph

2 Commits

Author SHA1 Message Date
Jeffrey Wan
a7a5992d7d Add no-grad inference mode note (#58513)
Summary:
Adds a note explaining the difference between several often conflated mechanisms in the autograd note
Also adds a link to this note from the docs in `grad_mode` and `nn.module`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/58513

Reviewed By: gchanan

Differential Revision: D28651129

Pulled By: soulitzer

fbshipit-source-id: af9eb1749b641fc1b632815634eea36bf7979156
2021-05-25 13:06:54 -07:00
Ailing Zhang
74a4868d9a Add docs for c10::InferenceMode. (#57480)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57480

Test Plan: Imported from OSS

Reviewed By: navahgar, pbelevich

Differential Revision: D28164070

Pulled By: ailzhang

fbshipit-source-id: a6b0658f3e65f76387095fbd8d66c762914d3bea
2021-05-03 19:36:10 -07:00