Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 18, 2016 22:02
Show Gist options
  • Save 3h4/759e0b8f01b7a07cfe3495f07b4eef86 to your computer and use it in GitHub Desktop.
Save 3h4/759e0b8f01b7a07cfe3495f07b4eef86 to your computer and use it in GitHub Desktop.
cell = tf.nn.rnn_cell.BasicLSTMCell(state_size, state_is_tuple=True)
states_series, current_state = tf.nn.rnn(cell, inputs_series, init_state)
Copy link

ghost commented Aug 27, 2017

Change tf.nn.rnn to tf.contrib.rnn.static_rnn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment