Skip to content

Instantly share code, notes, and snippets.

@enijkamp
Created April 27, 2018 22:13
Show Gist options
  • Save enijkamp/0d9ab344edcb7702efa0371afcc56679 to your computer and use it in GitHub Desktop.
Save enijkamp/0d9ab344edcb7702efa0371afcc56679 to your computer and use it in GitHub Desktop.
step = optimizer.apply_gradients(gv1)
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
step = tf.group(step, update_ops)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment