SunQilin / lstm_matlab

A matlab version of lng short term memory
21 stars 11 forks source link

About len_in +1 #6

Open oliverwang119 opened 7 years ago

oliverwang119 commented 7 years ago

Hi Qilin, Thank you for your code. I am wondering why there is len_in+1 in x = rand(seq_len, len_in + 1), not len_in?

Thank you, Oliver

QuantumLiu commented 7 years ago

maybe bias

SunQilin commented 7 years ago

Yes. It reserves for the bias item. This repository is my first attempt for lstm. Although this code ran correctly, I recommend you use other famous implementations for better performance.