Last active
March 4, 2018 23:37
-
-
Save eisenjulian/9f369bc4c1086be02f8e36e3e9f5b9b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lstm_cell = tf.nn.rnn_cell.BasicLSTMCell(100) | |
_, final_states = tf.nn.dynamic_rnn( | |
lstm_cell, inputs, sequence_length=features['len'], dtype=tf.float32) | |
logits = tf.layers.dense(inputs=final_states.h, units=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment