From 4e8b17d4963c14c2f54dfb65bd5a76c66b30d85c Mon Sep 17 00:00:00 2001 From: Arshdeep Singh <23432952+4rshdeep@users.noreply.github.com> Date: Thu, 14 Dec 2017 17:12:23 +0530 Subject: [PATCH] Update LSTM Demo.ipynb --- LSTM Demo.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",