JonathanRaiman / theano_lstm

:microscope: Nano size Theano LSTM module
Other
304 stars 111 forks source link

Examples are probably outdated #15

Open usamec opened 9 years ago

usamec commented 9 years ago

Hi, the first example contains this line: new_states = stacked_rnn.forward(x, prev_hiddens, dropout)

But there is no mention of stacked_rrn variable anywhere. Also there is no mention of dynamics from line: return [dynamics(x, new_states[-1])] + new_states[:-1]

JonathanRaiman commented 9 years ago

Sorry! You are right the example was pasted from a project (and my bad for not cleaning that up). Better example is in the notebook tutorial here .