refractoring
This commit is contained in:
@@ -274,14 +274,6 @@ function adjust_internal_learning_rate!(n::compute_neuron)
|
||||
n.internal_learning_rate * 1.005
|
||||
end
|
||||
|
||||
function push_epsilon_rec_a!(n::lif_neuron)
|
||||
# skip
|
||||
end
|
||||
|
||||
function push_epsilon_rec_a!(n::alif_neuron)
|
||||
push!(n.epsilonRecA, 0)
|
||||
end
|
||||
|
||||
""" compute synaptic connection strength. bias will shift currentStrength to fit into
|
||||
sigmoid operating range which centred at 0 and range is -37 to 37.
|
||||
# Example
|
||||
@@ -307,8 +299,8 @@ function synapticConnStrength(currentStrength::AbstractFloat, updown::String, bi
|
||||
end
|
||||
|
||||
function synapticConnStrength(n::compute_neuron)
|
||||
for connStrength in n.synapticStrength
|
||||
|
||||
for (i, connStrength) in enumerate(n.synapticStrength)
|
||||
n.
|
||||
synapticConnStrength
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user