turn off synaptic strength for output neuron

This commit is contained in:
2023-05-28 22:14:44 +07:00
parent f849aea2a6
commit 4fc4a5af91

View File

@@ -114,7 +114,7 @@ function learn!(n::T, firedNeurons, nExInType, totalInputPort) where T<:outputNe
n.wRec .*= nonFlipedSign n.wRec .*= nonFlipedSign
capMaxWeight!(n.wRec) # cap maximum weight capMaxWeight!(n.wRec) # cap maximum weight
synapticConnStrength!(n) # synapticConnStrength!(n) #CHANGE
neuroplasticity!(n,firedNeurons, nExInType, totalInputPort) neuroplasticity!(n,firedNeurons, nExInType, totalInputPort)
end end