From ea3aacc452cb882222546f734cc32b1749ee45a2 Mon Sep 17 00:00:00 2001 From: "Milan Stankovic, PhD" Date: Mon, 27 Nov 2023 19:58:23 +0100 Subject: [PATCH] Two minor typos (#845) --- 01-tensor_tutorial.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01-tensor_tutorial.ipynb b/01-tensor_tutorial.ipynb index d6dd5fda4..568da686e 100644 --- a/01-tensor_tutorial.ipynb +++ b/01-tensor_tutorial.ipynb @@ -850,7 +850,7 @@ "outputs": [], "source": [ "# In-place multiplication of all elements by 2 for tensor n\n", - "# Because n is essentiall n_np, not a clone, this affects n_np\n", + "# Because n is essentially n_np, not a clone, this affects n_np\n", "n.mul_(2)\n", "n_np" ] @@ -868,7 +868,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Creates two tensor of size 1x4\n", + "# Creates two tensors of size 1x4\n", "a = torch.Tensor([[1, 2, 3, 4]])\n", "b = torch.Tensor([[5, 6, 7, 8]])\n", "print(a.size(), b)"