refractoring
This commit is contained in:
@@ -47,9 +47,9 @@ function (kfn::kfn_1)(m::model, input_data::AbstractVector)
|
||||
end
|
||||
|
||||
# clear variables
|
||||
kfn.firedNeurons = Vector{Int64}()
|
||||
kfn.firedNeurons_t0 = Vector{Bool}()
|
||||
kfn.firedNeurons_t1 = Vector{Bool}()
|
||||
kfn.firedNeurons = Int64[]
|
||||
kfn.firedNeurons_t0 = Bool[]
|
||||
kfn.firedNeurons_t1 = Bool[]
|
||||
|
||||
kfn.learningStage = "learning"
|
||||
m.learningStage = kfn.learningStage
|
||||
|
||||
Reference in New Issue
Block a user