From d2b2021bfd4fed9ebdd4b3078378f90cd32952a1 Mon Sep 17 00:00:00 2001 From: shiv-u Date: Thu, 15 Aug 2019 12:01:51 +0530 Subject: [PATCH] Updated the binary values for XOR data The XOR data used in the lesson encrypted deep learning with pytorch is incorrect. --- Section 4 - Encrypted Deep Learning.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Section 4 - Encrypted Deep Learning.ipynb b/Section 4 - Encrypted Deep Learning.ipynb index a396bc6..7da14fe 100644 --- a/Section 4 - Encrypted Deep Learning.ipynb +++ b/Section 4 - Encrypted Deep Learning.ipynb @@ -888,7 +888,7 @@ "\n", "# A Toy Dataset\n", "data = th.tensor([[0,0],[0,1],[1,0],[1,1.]], requires_grad=True)\n", - "target = th.tensor([[0],[0],[1],[1.]], requires_grad=True)\n", + "target = th.tensor([[0],[1],[1],[0.]], requires_grad=True)\n", "\n", "class Net(nn.Module):\n", " def __init__(self):\n",