Skip to content

Commit 24ad87f

Browse files
trigatenholly1238
andauthored
Respectively ordering (#1590)
Matrices and vectors are special cases of # torch.Tensors, where their dimension is 1 and 2 respectively. <-- the 2 and 1 should be switched. Co-authored-by: Holly Sweeney <77758406+holly1238@users.noreply.github.com>
1 parent 323ff0b commit 24ad87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/nlp/pytorch_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# A note on terminology:
5353
# when I say "tensor" in this tutorial, it refers
5454
# to any torch.Tensor object. Matrices and vectors are special cases of
55-
# torch.Tensors, where their dimension is 1 and 2 respectively. When I am
55+
# torch.Tensors, where their dimension is 2 and 1 respectively. When I am
5656
# talking about 3D tensors, I will explicitly use the term "3D tensor".
5757
#
5858

0 commit comments

Comments
 (0)