Skip to content

Commit 3ba83fa

Browse files
lamekSvetlana Karslioglu
and
Svetlana Karslioglu
authored
Typo in tensorqs_tutorial.py (#2242)
Looks like "op" should be "option" here Co-authored-by: Svetlana Karslioglu <svekars@fb.com>
1 parent 366f82a commit 3ba83fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: beginner_source/basics/tensorqs_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
######################################################################
134134
# **Joining tensors** You can use ``torch.cat`` to concatenate a sequence of tensors along a given dimension.
135135
# See also `torch.stack <https://pytorch.org/docs/stable/generated/torch.stack.html>`__,
136-
# another tensor joining op that is subtly different from ``torch.cat``.
136+
# another tensor joining option that is subtly different from ``torch.cat``.
137137
t1 = torch.cat([tensor, tensor, tensor], dim=1)
138138
print(t1)
139139

0 commit comments

Comments
 (0)