Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 18, 2016 22:45
Show Gist options
  • Save 3h4/5228cb94826dd157b130b1e317d205dd to your computer and use it in GitHub Desktop.
Save 3h4/5228cb94826dd157b130b1e317d205dd to your computer and use it in GitHub Desktop.
states_series, current_state = tf.nn.dynamic_rnn(cell, tf.expand_dims(batchX_placeholder, -1), initial_state=rnn_tuple_state)
states_series = tf.reshape(states_series, [-1, state_size])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment