tf.contrib.training.clip_gradient_norms

Clips the gradients by the given value.

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

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/training/clip_gradient_norms