diff --git a/LSTM Demo.ipynb b/LSTM Demo.ipynb index 6f131c4..1e1ea92 100644 --- a/LSTM Demo.ipynb +++ b/LSTM Demo.ipynb @@ -161,7 +161,7 @@ " \n", " #lets apply a series of matrix operations to our input (curr word) to compute a predicted output (next word)\n", " def forwardProp(self):\n", - " for i range(1, self.rl+1):\n", + " for i in range(1, self.rl+1):\n", " self.LSTM.x = np.hstack((self.ha[i-1], self.x))\n", " cs, hs, f, c, o = self.LSTM.forwardProp()\n", " #store computed cell state\n",