Make LSTMCell non-mutable

This commit is contained in:
Keno Fischer 2019-01-28 20:26:04 -05:00
parent 770f601897
commit be0133fb67

View File

@ -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;