From 5590f43715c67f217ecd910083a00410c0e82ac1 Mon Sep 17 00:00:00 2001 From: Kevin Lamenzo Date: Tue, 7 Mar 2023 13:52:24 -0800 Subject: [PATCH] Typo in tensorqs_tutorial.py Looks like "op" should be "option" here --- beginner_source/basics/tensorqs_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beginner_source/basics/tensorqs_tutorial.py b/beginner_source/basics/tensorqs_tutorial.py index 30297211ee7..3e870f3f0c2 100644 --- a/beginner_source/basics/tensorqs_tutorial.py +++ b/beginner_source/basics/tensorqs_tutorial.py @@ -133,7 +133,7 @@ ###################################################################### # **Joining tensors** You can use ``torch.cat`` to concatenate a sequence of tensors along a given dimension. # See also `torch.stack `__, -# another tensor joining op that is subtly different from ``torch.cat``. +# another tensor joining option that is subtly different from ``torch.cat``. t1 = torch.cat([tensor, tensor, tensor], dim=1) print(t1)