Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf_agents.utils.training.apply_gradients

View source on GitHub

Returns a tf.Operation that applies gradients and incremements the global step.

tf_agents.utils.training.apply_gradients(
    optimizer, grads_and_vars, global_step=None
)

Args:

Returns:

A tf.Operation that when executed, applies gradients and increments the global step.