From 53e85d810d105bad1400a696b88131abcad9d735 Mon Sep 17 00:00:00 2001 From: ton Date: Sun, 17 Sep 2023 19:28:12 +0700 Subject: [PATCH] dev --- src/learn.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/learn.jl b/src/learn.jl index 05c0eab..01aef99 100644 --- a/src/learn.jl +++ b/src/learn.jl @@ -178,7 +178,7 @@ function onComputeParamsChange!(phi::CuArray, eRec .= phi .* epsilonRec nError .= reshape(outputError, (1, 1, :, size(outputError, 2))) .* arrayProjection4d - wOutChange .+= (-eta .* nError .* eRec) + wOutChange .+= (eta .* nError .* eRec) # reset epsilonRec epsilonRec .= 0 @@ -420,9 +420,6 @@ function onLearn!(wOut, wOut .-= 0.001 .* wOut end -GeneralUtils.allTrue(args...) = false ∈ [args...] ? false : true - -#WORKING function neuroplasticity(synapseConnectionNumber, zitCumulative, # (row, col) wRec, # (row, col, n)