nicodjimenez / lstm

Minimal, clean example of lstm neural network training in python, for learning purposes.
1.75k stars 651 forks source link

lstm.py the 97 line #43

Open chenyingjie2012 opened 5 years ago

chenyingjie2012 commented 5 years ago

lstm.py the 97 line
self.state.s = self.state.g self.state.i + s_prev self.state.f should be self.state.s = np.tanh(self.state.g self.state.i + s_prev self.state.f)