PyTorch C++ API Documentations

I found many of the functions or C++ methods were not documented in detail and I would have to guess what each of the methods is doing. For example, the at::Tensor class:


I wonder if there is any plan to add a brief message to each of the methods, or where I could find these brief messages. Thank you.
1 Like

You can refer to python API and they are same. BTW, if you just try to deploy, just flow the user guide and it’s not necessary to dig into source code since lower code is always changing.

@alanzhai219 Thank you. Then a reference link to the Python API will be beneficial. The function names from the Python API and C++ API might not always be the same I think.

1 Like