ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.contrib.training.clip_gradient_norms

View source on GitHub

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.