8000 Feedback about Class Tensor · Issue #153463 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Feedback about Class Tensor #153463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
inakleinbottle opened this issue May 13, 2025 · 0 comments
Open

Feedback about Class Tensor #153463

inakleinbottle opened this issue May 13, 2025 · 0 comments
Labels
module: cpp Related to C++ API module: docs Related to our documentation, both in docs/ and docblocks triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@inakleinbottle
Copy link
inakleinbottle commented May 13, 2025

There is the following issue on this page: https://docs.pytorch.org/cppdocs/api/classat_1_1_tensor.html#_CPPv4N2at6TensorE

This documentation really is unhelpful. Most of the methods have nothing but a basic signature, some of the methods are hidden in the TensorBase class that is completely undocumented. There are functions mentioned in deprecation message that aren't themselves documented at all (scalar_type, for instance). Moreover, a lot of internal methods (prefixed with _) are included in the documentation, which really bloats the page and makes it difficult to find the actually useful public API functions. I'm trying to write a C++ extension for torch, and the lack of good documentation on the C++ API makes this very frustrating. (Also, the torch source repository is very difficult to understand!)

cc @svekars @sekyondaMeta @AlannaBurke @jbschlosser

@soulitzer soulitzer added module: docs Related to our documentation, both in docs/ and docblocks module: cpp Related to C++ API triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: cpp Related to C++ API module: docs Related to our documentation, both in docs/ and docblocks triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants
0