minor fix

This commit is contained in:
ton
2023-08-10 13:29:51 +07:00
parent 7a6ca16f83
commit 2a72479f83

View File

@@ -150,7 +150,6 @@ function lifComputeParamsChange!( phi::AbstractArray,
wOut::AbstractArray,
modelError::AbstractArray)
d1, d2, d3, d4 = size(epsilonRec)
error("DEBUG -> lifComputeParamsChange! $(Dates.now())")
# Bₖⱼ in paper, sum() to get each neuron's total wOut weight
wOutSum = reshape(sum(wOut, dims=3), (d1, :, d4))
@@ -244,9 +243,6 @@ function learn!(kfn::kfn_1)
kfn.on_wOutChange,
kfn.on_arrayProjection4d)
# wOut decay
kfn.on_wOut .*= 0.0001
# wrap up learning session
if kfn.learningStage == [3]
kfn.learningStage = [0]