tf.contrib.training.clip_gradient_norms
Clips the gradients by the given value.
tf.contrib.training.clip_gradient_norms(
gradients_to_variables, max_norm
)
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]