Skip to content

Commit b2d077d

Browse files
Atcoldsoumith
authored andcommitted
Update _tensor_docs.py (pytorch#966)
1 parent b1c2714 commit b2d077d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_tensor_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@
648648

649649
add_docstr(torch._C.FloatTensorBase.index_fill_,
650650
"""
651-
index_fill_(dim, index, tensor) -> Tensor
651+
index_fill_(dim, index, val) -> Tensor
652652
653653
Fills the elements of the original tensor with value :attr:`val` by selecting
654654
the indices in the order given in index.

0 commit comments

Comments
 (0)