nicodjimenez / lstm

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

Add activation function to cells' output #30

Open ladykillerjason opened 6 years ago

emilianbold commented 6 years ago

This does not seem correct to me. Don't you also need do = np.tanh(self.state.s) * top_diff_h ?