From 8570bce466baf95d66637707e083e4c764a6b02c Mon Sep 17 00:00:00 2001
From: Maxxhim <maxc2507@gmail.com>
Date: Fri, 3 Apr 2020 00:53:20 +0200
Subject: [PATCH] patch v1.1 Multiplication

---
 functions.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/functions.py b/functions.py
index 196680b..5be93b7 100644
--- a/functions.py
+++ b/functions.py
@@ -91,8 +91,8 @@ class Mul(_Function):
         # TODO: Implement the derivative dx for this opetation and add the
         # result of the chain rule on self.dx.
         #######################################################################
-        self.dx = grad * self.y
-        self.dy = grad * self.x
+        self.dx = grad * self.y.data
+        self.dy = grad * self.x.data
         #######################################################################
         # --------------------------- END OF YOUR CODE ------------------------
         #######################################################################
-- 
GitLab