From 78c93711f1ba3e0b70828d5474b32ff869f33654 Mon Sep 17 00:00:00 2001 From: Kelly Davis Date: Sat, 28 May 2016 20:12:18 +0200 Subject: [PATCH] Updated bidirectional_rnn() to 0.8 API --- DeepSpeech.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeepSpeech.ipynb b/DeepSpeech.ipynb index 05fff604..c8d55799 100644 --- a/DeepSpeech.ipynb +++ b/DeepSpeech.ipynb @@ -529,7 +529,7 @@ " \n", " # Reshape outputs from a list of n_steps tensors each of shape [batch_size, 2*n_cell_dim]\n", " # to a single tensor of shape [n_steps*batch_size, 2*n_cell_dim]\n", - " outputs = tf.pack(outputs)\n", + " outputs = tf.pack(outputs[0])\n", " outputs = tf.reshape(outputs, [-1, 2*n_cell_dim])\n", " \n", " #Hidden layer with clipped RELU activation and dropout\n", @@ -1647,7 +1647,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython2", - "version": "2.7.10" + "version": "2.7.11" } }, "nbformat": 4,