pytorch/docs/cpp/source/notes
Dirk Kulawiak 12a61a172e Fix missing class in cpp tensor documentation (#54488)
Summary:
The given example in the documentation does not compile due to the missing `torch::`. It is correct in the tutorial about [writing a custom extension ](https://pytorch.org/tutorials/advanced/cpp_extension.html#writing-a-mixed-c-cuda-extension)

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

Reviewed By: bdhirsh

Differential Revision: D27267000

Pulled By: glaringlee

fbshipit-source-id: 86a46d656c1a4fa4098287a6a43a38d1ef80171e
2021-03-24 11:10:19 -07:00
..
faq.rst
tensor_basics.rst Fix missing class in cpp tensor documentation (#54488) 2021-03-24 11:10:19 -07:00
tensor_creation.rst Improve C++ API autograd and indexing docs (#35777) 2020-04-02 09:33:11 -07:00
tensor_cuda_stream.rst Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
tensor_indexing.rst Improve C++ API autograd and indexing docs (#35777) 2020-04-02 09:33:11 -07:00
versioning.rst Generate header with version #defines for LibTorch (#50073) 2021-02-03 22:18:53 -08:00