refractoring

This commit is contained in:
2023-05-17 14:54:39 +07:00
parent 214466d9e9
commit ab3caad413
3 changed files with 39 additions and 39 deletions

View File

@@ -40,7 +40,7 @@ function (kfn::kfn_1)(m::model, input_data::AbstractVector)
resetLearningParams!(n)
end
for n in kfn.output_neuron
for n in kfn.outputNeuronsArray
# epsilonRec need to be reset because it counting how many each synaptic fires and
# use this info to calculate how much synaptic weight should be adjust
resetLearningParams!(n)