From 2aa58f4f7fd19a8f0cdf121bee4d5109a6b0827f Mon Sep 17 00:00:00 2001 From: sherleton Date: Wed, 3 Oct 2018 22:53:19 +0530 Subject: [PATCH] Update identity.py --- Activation Functions/identity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Activation Functions/identity.py b/Activation Functions/identity.py index f657e74..076d5f5 100644 --- a/Activation Functions/identity.py +++ b/Activation Functions/identity.py @@ -3,4 +3,5 @@ def __call__(self, x): return (x) def gradient(self, x): - return 1 \ No newline at end of file + y = x+1 + return 1