From d3227855439b69883bfc5e0ed7d94efd704dec29 Mon Sep 17 00:00:00 2001 From: Fariz Rahman Date: Mon, 23 Nov 2015 03:54:32 +0530 Subject: [PATCH] Fix misleading comment in babi_memnn.py Output of question_encoder is 3D : sequence of vectors, not single vector. --- examples/babi_memnn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/babi_memnn.py b/examples/babi_memnn.py index f7132c280..3225d2496 100644 --- a/examples/babi_memnn.py +++ b/examples/babi_memnn.py @@ -155,7 +155,7 @@ input_encoder_m.add(Embedding(input_dim=vocab_size, output_dim=64, input_length=story_maxlen)) # output: (samples, story_maxlen, embedding_dim) -# embed the question into a single vector +# embed the question into a sequence of vectors question_encoder = Sequential() question_encoder.add(Embedding(input_dim=vocab_size, output_dim=64,