We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28437ca + 9b6de8f commit f7a0361Copy full SHA for f7a0361
1 file changed
beginner_source/basics/tensorqs_tutorial.py
@@ -63,7 +63,7 @@
63
#
64
# ``shape`` is a tuple of tensor dimensions. In the functions below, it determines the dimensionality of the output tensor.
65
66
-shape = (2,3,)
+shape = (2,3)
67
rand_tensor = torch.rand(shape)
68
ones_tensor = torch.ones(shape)
69
zeros_tensor = torch.zeros(shape)
0 commit comments