Comprehensive documentation for Tensor indexing? #79997
Labels
module: advanced indexing
Related to x[i] = y, index functions
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
📚 The doc issue
Is there a comprehensive doc page for Tensor indexing, like there is for numpy.ndarray?
I am facing some inconsistencies, particularly when using combined advanced boolean indexing and basic indexing, where the behaviour is clearly documented in the numpy side of things, but I am getting IndexError s in pytorch.
Would be great to know to what extent Tensor indexing mimics ndarray indexing.
Cheers.
Suggest a potential alternative/fix
Add a page like https://numpy.org/doc/stable/user/basics.indexing.html#advanced-indexing to the docs.
cc @svekars @holly1238
The text was updated successfully, but these errors were encountered: