pytorch/docs
Kenichi Maehashi 6ed68f3f84 Document torch.jit.is_tracing() (#67326)
Summary:
This PR adds `torch.jit.is_tracing()` to the JIT API reference.
This function is widely used but left undocumented: https://github.com/search?q=torch.jit.is_tracing&type=code

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

Reviewed By: tugsbayasgalan

Differential Revision: D31985251

Pulled By: Krovatkin

fbshipit-source-id: 852b432b08d63df8bd7a7a02c9555e61f5f37978
2021-10-28 09:56:09 -07:00
..
caffe2 Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default 2021-08-12 11:45:01 -07:00
cpp Update link to example pytorch/examples (#66095) 2021-10-05 12:48:12 -07:00
source Document torch.jit.is_tracing() (#67326) 2021-10-28 09:56:09 -07:00
.gitignore
libtorch.rst
make.bat
Makefile
README.md
requirements.txt Add copy button to code snippets in docs (#63149) 2021-08-15 06:25:32 -07:00

Please see the Writing documentation section of CONTRIBUTING.md for details on both writing and building the docs.