diff --git a/beginner_source/basics/tensorqs_tutorial.py b/beginner_source/basics/tensorqs_tutorial.py index 30e05cb10d0..7e5cf6e9a6e 100644 --- a/beginner_source/basics/tensorqs_tutorial.py +++ b/beginner_source/basics/tensorqs_tutorial.py @@ -63,7 +63,7 @@ # # ``shape`` is a tuple of tensor dimensions. In the functions below, it determines the dimensionality of the output tensor. -shape = (2,3,) +shape = (2,3) rand_tensor = torch.rand(shape) ones_tensor = torch.ones(shape) zeros_tensor = torch.zeros(shape)