Skip to content

Commit 6fc9130

Browse files
bunelrsoumith
authored andcommitted
Adapt documentation to reflect new supported argument (pytorch#1548)
Reflect the changes of pytorch#1323
1 parent 28f4f6d commit 6fc9130

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torch/_torch_docs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@
559559

560560
add_docstr(torch._C.cat,
561561
"""
562-
cat(seq, dim=0) -> Tensor
562+
cat(seq, dim=0, out=None) -> Tensor
563563
564564
Concatenates the given sequence of :attr:`seq` Tensors in the given dimension.
565565
@@ -570,6 +570,7 @@
570570
Args:
571571
seq (sequence of Tensors): Can be any python sequence of `Tensor` of the same type.
572572
dim (int, optional): The dimension over which the tensors are concatenated
573+
out (Tensor, optional): Output argument
573574
574575
Example::
575576

0 commit comments

Comments
 (0)