Skip to content

Commit 49364eb

Browse files
vishwakftwzou3519
authored andcommitted
Fix typographical error in torch.triu docstring (pytorch#32067) (pytorch#32122)
Summary: below --> above Fixes pytorch#32032 Pull Request resolved: pytorch#32067 Differential Revision: D19355788 Pulled By: zou3519 fbshipit-source-id: dc7a2538a78cd11e72d47ad923ef50599a5a87e2
1 parent bcf2d65 commit 49364eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_torch_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5788,7 +5788,7 @@ def merge_dicts(*dicts):
57885788
above the diagonal.
57895789
57905790
The argument :attr:`diagonal` controls which diagonal to consider. If
5791-
:attr:`diagonal` = 0, all elements on and below the main diagonal are
5791+
:attr:`diagonal` = 0, all elements on and above the main diagonal are
57925792
retained. A positive value excludes just as many diagonals above the main
57935793
diagonal, and similarly a negative value includes just as many diagonals below
57945794
the main diagonal. The main diagonal are the set of indices

0 commit comments

Comments
 (0)