TensorFlow 2.0 Beta is available Learn more

tf.contrib.training.clip_gradient_norms_fn

View source on GitHub

Returns a transform_grads_fn function for gradient clipping.

tf.contrib.training.clip_gradient_norms_fn(max_norm)