Skip to content
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

[doc] Fix info on the shape of pivots in torch.lu + more info on what and how they encode permutations. #46844

Closed
wants to merge 1 commit into from

Conversation

nikitaved
Copy link
Collaborator

As per title.

@nikitaved nikitaved added the module: docs Related to our documentation, both in docs/ and docblocks label Oct 26, 2020
@nikitaved nikitaved changed the title Fix info on the shape of pivots in torch.lu + more info on what and how they encode permutations. [doc] Fix info on the shape of pivots in torch.lu + more info on what and how they encode permutations. Oct 26, 2020
@izdeby izdeby requested review from vishwakftw and malfet and removed request for vishwakftw October 26, 2020 17:12
@izdeby izdeby added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 26, 2020
@nikitaved nikitaved force-pushed the nikved/doc_fix_for_lu_pivots branch 2 times, most recently from 0d47a58 to cce1089 Compare October 26, 2020 17:32
- **pivots** (*IntTensor*): the pivots of size :math:`(*, min(m, n))`.
``pivots`` stores all the intermediate transpositions of rows.
The final permutation ``perm`` could be reconstructed by
applying :math:`swap(perm[i], perm[pivots[i] - 1])` for :math:`i = 0, \ldots, pivots.size(-1) - 1`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swap, perm and pivots could be in \text{}, otherwise they'll be formatting like math.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replaced with to replicate the code insertion.

Copy link
Contributor

@vishwakftw vishwakftw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks.

@vishwakftw
Copy link
Contributor

@pytorchbot merge this please

@pytorchbot pytorchbot added the merge-this-please Was marked for merge with @pytorchbot merge this please label Oct 28, 2020
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in cd26d02.

@facebook-github-bot facebook-github-bot deleted the nikved/doc_fix_for_lu_pivots branch January 27, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-this-please Was marked for merge with @pytorchbot merge this please Merged module: docs Related to our documentation, both in docs/ and docblocks open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants