From d928c454e1c18619498ffde181675c4107dc8ec0 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 30 Sep 2020 17:15:19 +0200 Subject: [PATCH] Small fix --- 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 d174b01..a01d4d8 100644 --- a/rgbAI/lib/func.py +++ b/rgbAI/lib/func.py @@ -52,7 +52,7 @@ class AIlib: res2 = AIlib.think( inp, obj2 ) cost2 = AIlib.getThinkCost( inp, res2 ) # get the second cost - # Get the usefull variables + # Actually calculate stuff dCost = cost2 - cost1 dWeight = obj2.weights[layerIndex] - obj1.weights[layerIndex] dBias = obj2.bias[layerIndex] - obj1.bias[layerIndex]