From 36eb675fcd81e5883d3707dd592448f609a9bfaf Mon Sep 17 00:00:00 2001
From: Maxxhim <maxc2507@gmail.com>
Date: Fri, 3 Apr 2020 18:17:15 +0200
Subject: [PATCH] patch v7 relu

---
 functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/functions.py b/functions.py
index 604b225..93e6e51 100644
--- a/functions.py
+++ b/functions.py
@@ -375,7 +375,7 @@ class ReLu(_Function):
         # Implement the forward pass and put the result in self.result.
         # The notbook provide you the formulas for this operation.
         #######################################################################
-        self.result = np.max(0, self.x.data)
+        self.result = np.maximum(0, self.x.data)
         #######################################################################
         # --------------------------- END OF YOUR CODE ------------------------
         #######################################################################
-- 
GitLab