Skip to content

Commit 16bc165

Browse files
fix: some additional small fixes
1 parent 772ab72 commit 16bc165

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

src/extensions/reca.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ and [Yilmaz2014](@cite).
128128
129129
"""
130130
@concrete struct RECACell <: AbstractReservoirRecurrentCell
131-
automaton
131+
automaton::Any
132132
enc <: RandomMaps
133133
end
134134

src/layers/basic.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ before this layer (logically inserting a [`Collect`](@ref) right before it).
5151
which is usually unintended.
5252
"""
5353
@concrete struct LinearReadout <: AbstractReservoirTrainableLayer
54-
activation
54+
activation::Any
5555
in_dims <: IntegerType
5656
out_dims <: IntegerType
57-
init_weight
58-
init_bias
57+
init_weight::Any
58+
init_bias::Any
5959
use_bias <: StaticBool
6060
include_collect <: StaticBool
6161
end

src/layers/esn_cell.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ Created by `initialstates(rng, esn)`:
6666
- `rng`: a replicated RNG used to sample initial hidden states when needed.
6767
"""
6868
@concrete struct ESNCell <: AbstractEchoStateNetworkCell
69-
activation
69+
activation::Any
7070
in_dims <: IntegerType
7171
out_dims <: IntegerType
72-
init_bias
73-
init_reservoir
74-
init_input
72+
init_bias::Any
73+
init_reservoir::Any
74+
init_input::Any
7575
#init_feedback::F
76-
init_state
77-
leak_coefficient
76+
init_state::Any
77+
leak_coefficient::Any
7878
use_bias <: StaticBool
7979
end
8080

src/layers/lux_layers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ updated states for every layer.
118118
"""
119119
@concrete struct ReservoirChain <: AbstractLuxWrapperLayer{:layers}
120120
layers <: NamedTuple
121-
name
121+
name::Any
122122
end
123123

124124
function ReservoirChain(xs...; name = nothing)

src/models/esn_deep.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ Composition:
115115
116116
"""
117117
@concrete struct DeepESN <: AbstractEchoStateNetwork{(:cells, :states_modifiers, :readout)}
118-
cells
119-
states_modifiers
120-
readout
118+
cells::Any
119+
states_modifiers::Any
120+
readout::Any
121121
end
122122

123123
function DeepESN(in_dims::IntegerType,

src/models/esn_hybrid.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ Created by `initialstates(rng, hesn)`:
7979
"""
8080
@concrete struct HybridESN <: AbstractEchoStateNetwork{(
8181
:cell, :states_modifiers, :readout, :knowledge_model)}
82-
cell
83-
knowledge_model
84-
states_modifiers
85-
readout
82+
cell::Any
83+
knowledge_model::Any
84+
states_modifiers::Any
85+
readout::Any
8686
end
8787

8888
function HybridESN(km,

src/reservoircomputer.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ features, and install trained readout weights.
3131
"""
3232
@concrete struct ReservoirComputer <:
3333
AbstractReservoirComputer{(:reservoir, :states_modifiers, :readout)}
34-
reservoir
35-
states_modifiers
36-
readout
34+
reservoir::Any
35+
states_modifiers::Any
36+
readout::Any
3737
end
3838

3939
function initialparameters(rng::AbstractRNG, rc::ReservoirComputer)

0 commit comments

Comments
 (0)