dev
This commit is contained in:
@@ -554,10 +554,10 @@ function neuroplasticity(synapseConnectionNumber,
|
||||
|
||||
# merge learning weight, all resulting negative wRec will get pruned
|
||||
mergeLearnWeight!(wRec, exInType, wRecChange, synapticActivityCounter, synapseReconnectDelay)
|
||||
# println("wRec 2 $(size(wRec)) ", wRec[:,:,1,1])
|
||||
|
||||
# adjust wRec based on repeatition (90% +w, 10% -w)
|
||||
growRepeatedPath!(wRec, synapticActivityCounter, eta)
|
||||
# println("wRec 3 $(size(wRec)) ", wRec[:,:,1,1])
|
||||
error("DEBUG -> neuroplasticity")
|
||||
# -w all non-fire connection except mature connection
|
||||
weakenNotMatureSynapse!(wRec, synapticActivityCounter, eta)
|
||||
|
||||
@@ -568,7 +568,7 @@ function neuroplasticity(synapseConnectionNumber,
|
||||
rewireSynapse!(wRec, neuronInactivityCounter, synapticActivityCounter,
|
||||
synapseReconnectDelay, zitCumulative)
|
||||
|
||||
error("DEBUG -> neuroplasticity")
|
||||
|
||||
|
||||
# wRec .= (exInType .* wRec) .+ wRecChange
|
||||
# mask_negative = isless.(wRec, 0)
|
||||
|
||||
@@ -132,7 +132,7 @@ function mergeLearnWeight!(wRec::AbstractArray, exInType, wRecChange::AbstractAr
|
||||
# synapseReconnectDelay counting mode when value is negative hence .* -1
|
||||
synapseReconnectDelay .= (synapseReconnectDelay .* nonflipsign) .+ (waittime .* -1)
|
||||
# println("synapseReconnectDelay ", synapseReconnectDelay[:,:,1,1]) #TODO check value
|
||||
error("DEBUG -> mergeLearnWeight!")
|
||||
# error("DEBUG -> mergeLearnWeight!")
|
||||
end
|
||||
|
||||
function growRepeatedPath!(wRec, synapticActivityCounter, eta) #BUG wRec get all 0
|
||||
|
||||
Reference in New Issue
Block a user