We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf2d65 commit 49364ebCopy full SHA for 49364eb
torch/_torch_docs.py
@@ -5788,7 +5788,7 @@ def merge_dicts(*dicts):
5788
above the diagonal.
5789
5790
The argument :attr:`diagonal` controls which diagonal to consider. If
5791
-:attr:`diagonal` = 0, all elements on and below the main diagonal are
+:attr:`diagonal` = 0, all elements on and above the main diagonal are
5792
retained. A positive value excludes just as many diagonals above the main
5793
diagonal, and similarly a negative value includes just as many diagonals below
5794
the main diagonal. The main diagonal are the set of indices
0 commit comments