dev
This commit is contained in:
@@ -178,7 +178,7 @@ function onComputeParamsChange!(phi::CuArray,
|
|||||||
|
|
||||||
eRec .= phi .* epsilonRec
|
eRec .= phi .* epsilonRec
|
||||||
nError .= reshape(outputError, (1, 1, :, size(outputError, 2))) .* arrayProjection4d
|
nError .= reshape(outputError, (1, 1, :, size(outputError, 2))) .* arrayProjection4d
|
||||||
wOutChange .+= (-eta .* nError .* eRec)
|
wOutChange .+= (eta .* nError .* eRec)
|
||||||
|
|
||||||
# reset epsilonRec
|
# reset epsilonRec
|
||||||
epsilonRec .= 0
|
epsilonRec .= 0
|
||||||
@@ -420,9 +420,6 @@ function onLearn!(wOut,
|
|||||||
wOut .-= 0.001 .* wOut
|
wOut .-= 0.001 .* wOut
|
||||||
end
|
end
|
||||||
|
|
||||||
GeneralUtils.allTrue(args...) = false ∈ [args...] ? false : true
|
|
||||||
|
|
||||||
#WORKING
|
|
||||||
function neuroplasticity(synapseConnectionNumber,
|
function neuroplasticity(synapseConnectionNumber,
|
||||||
zitCumulative, # (row, col)
|
zitCumulative, # (row, col)
|
||||||
wRec, # (row, col, n)
|
wRec, # (row, col, n)
|
||||||
|
|||||||
Reference in New Issue
Block a user