Make LSTMCell non-mutable
This commit is contained in:
parent
770f601897
commit
be0133fb67
@ -112,12 +112,12 @@ RNN(a...; ka...) = Recur(RNNCell(a...; ka...))
|
||||
|
||||
# LSTM
|
||||
|
||||
mutable struct LSTMCell{A,V}
|
||||
struct LSTMCell{A,B,V,W,Z}
|
||||
Wi::A
|
||||
Wh::A
|
||||
Wh::B
|
||||
b::V
|
||||
h::V
|
||||
c::V
|
||||
h::W
|
||||
c::Z
|
||||
end
|
||||
|
||||
function LSTMCell(in::Integer, out::Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user