-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Added file on index_select #5673
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Neema-Joju ,
The entry is nicely written. I have suggested a few changes for this entry. Please make them as soon as possible.
Thanks,
Savi
content/pytorch/concepts/tensor-operations/terms/index_select/index_select.md
Outdated
Show resolved
Hide resolved
content/pytorch/concepts/tensor-operations/terms/index_select/index_select.md
Outdated
Show resolved
Hide resolved
content/pytorch/concepts/tensor-operations/terms/index_select/index_select.md
Outdated
Show resolved
Hide resolved
content/pytorch/concepts/tensor-operations/terms/index_select/index_select.md
Outdated
Show resolved
Hide resolved
content/pytorch/concepts/tensor-operations/terms/index_select/index_select.md
Outdated
Show resolved
Hide resolved
tensor([[1, 2, 3, -8], | ||
[-1, 7, 6, 3]]) | ||
tensor([[1, 4, -1, 5], | ||
[3, 8, 6, 9]]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tensor([[1, 2, 3, -8], | |
[-1, 7, 6, 3]]) | |
tensor([[1, 4, -1, 5], | |
[3, 8, 6, 9]]) | |
tensor([[1, 2, 3, -8], | |
[-1, 7, 6, 3]]) | |
tensor([[1, 4, -1, 5], | |
[3, 8, 6, 9]]) |
This output incorrectly selects values from rows instead of columns, which is incorrect, so please correct the way of printing this output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first tensor r
does select values from the rows not columns.
Description
Added a new entry file on .index_select(). Improving documentation and providing more context for the users to understand.
Issue Solved
Closes #5629
Type of Change
Checklist
main
branch.Issues Solved
section.