This commit is contained in:
ton
2023-09-17 19:28:12 +07:00
parent 69b4862d48
commit 53e85d810d

View File

@@ -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)