refractoring
This commit is contained in:
@@ -166,6 +166,8 @@ function (n::alif_neuron)(kfn::knowledgeFn)
|
||||
n.phi = (n.gammaPd / n.v_th) * max(0, 1 - (n.v_t1 - n.av_th) / n.v_th)
|
||||
n.decayedEpsilonRec = n.alpha * n.epsilonRec
|
||||
n.epsilonRec = n.decayedEpsilonRec + n.z_i_t
|
||||
n.epsilonRecA = (n.phi * n.epsilonRec) +
|
||||
((n.rho - (n.phi * n.beta)) * n.epsilonRecA)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user