Skip to content

Commit 9b626a8

Browse files
arnowaczynskisoumith
authored andcommitted
Fix documentation - replace 'matrix' with 'vector' (pytorch#951)
1 parent bd0e9a7 commit 9b626a8

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
@@ -2544,7 +2544,7 @@
25442544
Indices are ordered from left to right according to when each was sampled
25452545
(first samples are placed in first column).
25462546
2547-
If :attr:`input` is a vector, :attr:`out` is a matrix of size `num_samples`.
2547+
If :attr:`input` is a vector, :attr:`out` is a vector of size `num_samples`.
25482548
25492549
If :attr:`input` is a matrix with `m` rows, :attr:`out` is an matrix of shape `m \u00D7 n`.
25502550

0 commit comments

Comments
 (0)