Attend the Women in ML Symposium on December 7 Register now

tf_agents.utils.eager_utils.clip_gradient_norms

Stay organized with collections Save and categorize content based on your preferences.

Clips the gradients by the given value.

gradients_to_variables A list of gradient to variable pairs (tuples).
max_norm the maximum norm value.

A list of clipped gradient to variable pairs.