pytorch/docs/cpp/source
Pritam Damania e8e7d93293 Additional autograd unit tests for Python UDFs. (#29041)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29041

1) Enhanced autograd unit tests to test the
torch.distributed.autograd.backward() API more thoroughly on Python UDFs.
2) Enhanced `python_error` to override `what` such that it returns an
appropriate error string if we call `what()` on this error. This ensures we can
propagate exceptions over the wire during RPCs (since we get the error string
by calling what() on the exception)
ghstack-source-id: 93098679
ghstack-source-id: 93098679

Test Plan: waitforbuildbot

Reviewed By: mrshenli

Differential Revision: D18273041

fbshipit-source-id: 85d3932fed6337668a812367fdfce233c1b3ff8e
2019-11-01 18:30:09 -07:00
..
notes codemod at::ArrayRef and torch::IntArrayRef to std::vector in C++ API tests (#27884) 2019-10-14 18:00:30 -07:00
check-doxygen.sh Re-organize C++ API torch::nn folder structure (#26262) 2019-09-17 10:07:29 -07:00
conf.py Enable EXE001 flake8 check. (#27560) 2019-10-09 09:15:29 -07:00
contributing.rst fix sigma in the middle of when word (#16227) 2019-01-23 08:35:32 -08:00
Doxyfile Additional autograd unit tests for Python UDFs. (#29041) 2019-11-01 18:30:09 -07:00
frontend.rst Fix C++ Frontend example in frontend.html (#15717) 2019-01-07 11:39:47 -08:00
index.rst Update index.rst 2019-10-22 21:43:58 -07:00
installing.rst Add copy logic for LibTorch to avoid issues on Windows (#25556) 2019-09-03 06:33:38 -07:00