pytorch/docs/cpp/source
Peter Goldsborough 393ad6582d Use torch:: instead of at:: in all C++ APIs (#13523)
Summary:
In TorchScript and C++ extensions we currently advocate a mix of `torch::` and `at::` namespace usage. In the C++ frontend I had instead exported all symbols from `at::` and some from `c10::` into the `torch::` namespace. This is far, far easier for users to understand, and also avoid bugs around creating tensors vs. variables. The same should from now on be true for the TorchScript C++ API (for running and loading models) and all C++ extensions.

Note that since we're just talking about typedefs, this change does not break any existing code.

Once this lands I will update stuff in `pytorch/tutorials` too.

zdevito ezyang gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13523

Differential Revision: D12942787

Pulled By: goldsborough

fbshipit-source-id: 76058936bd8707b33d9e5bbc2d0705fc3d820763
2018-11-06 14:32:25 -08:00
..
notes Remove ATen/README.md in favor of cppdocs/notes/tensor_basics.rst (#13601) 2018-11-05 19:13:50 -08:00
check-doxygen.sh Polish CPP docs, Minor Python Docs Fixes (#11722) 2018-09-18 14:55:57 -07:00
conf.py Docs/cpp misc features and fixes (#12914) 2018-10-31 15:22:45 -07:00
contributing.rst Better high level C++ documentation (#12079) 2018-09-26 20:57:43 -07:00
Doxyfile Move Device and DeviceType to c10 2018-10-24 08:27:44 -07:00
frontend.rst Note on Tensor Creation 2018-11-05 16:10:58 -08:00
index.rst Use torch:: instead of at:: in all C++ APIs (#13523) 2018-11-06 14:32:25 -08:00
installing.rst Use torch:: instead of at:: in all C++ APIs (#13523) 2018-11-06 14:32:25 -08:00