Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 18, 2016 22:17
Show Gist options
  • Save 3h4/e887f4d1d74d8389899ced40d68bef6b to your computer and use it in GitHub Desktop.
Save 3h4/e887f4d1d74d8389899ced40d68bef6b to your computer and use it in GitHub Desktop.
_total_loss, _train_step, _current_state, _predictions_series = sess.run(
[total_loss, train_step, current_state, predictions_series],
feed_dict={
batchX_placeholder: batchX,
batchY_placeholder: batchY,
cell_state: _current_cell_state,
hidden_state: _current_hidden_state
})
_current_cell_state, _current_hidden_state = _current_state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment