Skip to content

Commit 2a7bc1f

Browse files
authored
fixed syntax error
🐛 added a space in execution count, 78 and 79
1 parent adebdc9 commit 2a7bc1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

intro-to-pytorch/Part 1 - Tensors in PyTorch (Exercises).ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
],
317317
"source": [
318318
"import numpy as np\n",
319-
"np.set_printoptions(precision=8)",
319+
"np.set_printoptions(precision=8)\n",
320320
"a = np.random.rand(4,3)\n",
321321
"a"
322322
]
@@ -336,7 +336,7 @@
336336
}
337337
],
338338
"source": [
339-
"torch.set_printoptions(precision=8)",
339+
"torch.set_printoptions(precision=8)\n",
340340
"b = torch.from_numpy(a)\n",
341341
"b"
342342
]
@@ -426,4 +426,4 @@
426426
},
427427
"nbformat": 4,
428428
"nbformat_minor": 2
429-
}
429+
}

0 commit comments

Comments
 (0)