Commit Graph

4 Commits

Author SHA1 Message Date
linhaifeng
1764f3a9c8 [Fix] fix gramma error in PyTorch docs (#166158)
Fix several gramma errors in PyTorch docs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/166158
Approved by: https://github.com/yewentao256, https://github.com/cyyever, https://github.com/ezyang
2025-10-29 03:01:07 +00:00
Dmitry Nikolayev
db92d0f388 A bunch of typos (#149404)
Improves readability.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/149404
Approved by: https://github.com/soulitzer
2025-03-24 16:16:04 +00:00
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