Commit edb92db0 authored by Ben Milde's avatar Ben Milde

using input window directly for LSTM

parent 0a7e3da7
......@@ -684,7 +684,7 @@ class UnsupSeech(object):
if FLAGS.embedding_transformation == "Static_LSTM":
cell = tf.contrib.rnn.LSTMCell(FLAGS.rnn_hidden_cells)
outputs, state = tf.nn.static_rnn(cell, pooled, dtype=tf.float32) #, sequence_length=[seq_len])
outputs, state = tf.nn.static_rnn(cell, input_window, dtype=tf.float32) #, sequence_length=[seq_len])
pooled = outputs[-1]
needs_flattening = False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment