grid-lstm
grid-lstm copied to clipboard
Torch7 implementation of Grid LSTM as described here: http://arxiv.org/pdf/1507.01526v2.pdf
Hi, Training runs fine, but sampling gives the following error: `th ./sample.lua cv/lm_lstm_epoch7.01_1.3587.t7 ` ``` nngraph/gmodule.lua:362: Got 3 inputs instead of 5 stack traceback: [C]: in function 'error' /home/user/torch/install/share/lua/5.1/nngraph/gmodule.lua:362: in...
Hi, I'm just wondering why you use this form in https://github.com/coreylynch/grid-lstm/blob/master/model/GridLSTM.lua#L31 local next_h = nn.CMulTable()({out_gate, nn.Tanh()(next_c)}) in the paper it is local next_h = nn.Tanh()(nn.CMulTable()({out_gate, next_c})) Thank you for your...