pytorch/docs/cpp
Peter Goldsborough fb4e8088f3 Remove methods that start with an underscore from at::Tensor (#11152)
Summary:
This PR cleans up the `at::Tensor` class by removing all methods that start with an underscore in favor of functions in the `at::` namespace. This greatly cleans up the `Tensor` class and makes it clearer what is the public and non-public API.

For this I changed `native_functions.yaml` and `Declarations.cwrap` to make all underscore methods `variant: function` (or add such a statement to begin with), and then fixed all code locations using the underscore methods.

ezyang colesbury gchanan
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11152

Differential Revision: D9683607

Pulled By: goldsborough

fbshipit-source-id: 97f869f788fa56639c05a439e2a33be49f10f543
2018-09-07 11:55:11 -07:00
..
building.rst Basic infrastructure for C++ documentation (#10569) 2018-08-17 15:39:50 -07:00
check-doxygen.sh Add include path to Doxygen preprocessing and add some documentation (#11313) 2018-09-06 12:28:17 -07:00
conf.py Small fixes to cppdocs for sync script (#11300) 2018-09-05 16:40:47 -07:00
contributing.rst Basic infrastructure for C++ documentation (#10569) 2018-08-17 15:39:50 -07:00
Doxyfile Remove methods that start with an underscore from at::Tensor (#11152) 2018-09-07 11:55:11 -07:00
examples.rst Basic infrastructure for C++ documentation (#10569) 2018-08-17 15:39:50 -07:00
index.rst Basic infrastructure for C++ documentation (#10569) 2018-08-17 15:39:50 -07:00
Makefile Basic infrastructure for C++ documentation (#10569) 2018-08-17 15:39:50 -07:00
requirements.txt Small fixes to cppdocs for sync script (#11300) 2018-09-05 16:40:47 -07:00