From 2a7bc1ff9c1836d4237a3a137b276274131a2638 Mon Sep 17 00:00:00 2001 From: NinaM <57009004+NinaM31@users.noreply.github.com> Date: Wed, 21 Apr 2021 22:59:02 +0300 Subject: [PATCH] fixed syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐛 added a space in execution count, 78 and 79 --- .../Part 1 - Tensors in PyTorch (Exercises).ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intro-to-pytorch/Part 1 - Tensors in PyTorch (Exercises).ipynb b/intro-to-pytorch/Part 1 - Tensors in PyTorch (Exercises).ipynb index d5979f38d3..848f1e539c 100644 --- a/intro-to-pytorch/Part 1 - Tensors in PyTorch (Exercises).ipynb +++ b/intro-to-pytorch/Part 1 - Tensors in PyTorch (Exercises).ipynb @@ -316,7 +316,7 @@ ], "source": [ "import numpy as np\n", - "np.set_printoptions(precision=8)", + "np.set_printoptions(precision=8)\n", "a = np.random.rand(4,3)\n", "a" ] @@ -336,7 +336,7 @@ } ], "source": [ - "torch.set_printoptions(precision=8)", + "torch.set_printoptions(precision=8)\n", "b = torch.from_numpy(a)\n", "b" ] @@ -426,4 +426,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}