minor fix
This commit is contained in:
@@ -279,7 +279,7 @@ function onLearn!(wOut,
|
|||||||
wOutChange,
|
wOutChange,
|
||||||
arrayProjection4d)
|
arrayProjection4d)
|
||||||
# merge learning weight with average learning weight
|
# merge learning weight with average learning weight
|
||||||
wRec .+= (sum(wRecChange, dims=4) ./ (size(wRec, 4))) .* arrayProjection4d
|
wOut .+= (sum(wOutChange, dims=4) ./ (size(wOut, 4))) .* arrayProjection4d
|
||||||
|
|
||||||
# adaptive wOut to help convergence using c_decay
|
# adaptive wOut to help convergence using c_decay
|
||||||
wOut .-= 0.001 .* wOut
|
wOut .-= 0.001 .* wOut
|
||||||
|
|||||||
Reference in New Issue
Block a user