From 012b3a12a1884311013284403adc8cab5cb009ba Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 15 Sep 2020 09:38:53 +0000 Subject: [PATCH] Stuff --- rgbAI/lib/func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rgbAI/lib/func.py b/rgbAI/lib/func.py index 4713fc8..c785104 100644 --- a/rgbAI/lib/func.py +++ b/rgbAI/lib/func.py @@ -43,7 +43,7 @@ class AIlib: gradient = np.transpose( np.asmatrix(derv1 * derv2 * inp) ) print("Inp:", inp) print("Grad:", gradient) - return gradient / prop + return gradient def mutateProp( prop:list, lr, gradient ):