facebookarchive / SCRNNs

This is a self contained software accompanying the paper titled: Learning Longer Memory in Recurrent Neural Networks: http://arxiv.org/abs/1412.7753.
Other
169 stars 54 forks source link

rnn, lstm and scrnn are sharing a lot of duplicated code #1

Open futurely opened 9 years ago

futurely commented 9 years ago

wc -l rnn.lua => 365 wc -l lstm.lua => 294 wc -l scrnn.lua => 361 fgrep -xf rnn.lua lstm.lua | wc -l => 191 fgrep -xf rnn.lua scrnn.lua | wc -l => 228 fgrep -xf lstm.lua scrnn.lua | wc -l => 269