diff --git a/tensorflow/python/ops/custom_gradient.py b/tensorflow/python/ops/custom_gradient.py index 2592ba6ef97..785813d9c11 100644 --- a/tensorflow/python/ops/custom_gradient.py +++ b/tensorflow/python/ops/custom_gradient.py @@ -100,8 +100,8 @@ def custom_gradient(f=None): return tf.math.log(1 + tf.exp(x)) ``` - Due to numerical instability, the gradient this function evaluated at x=100 is - NaN. For example: + Due to numerical instability, the gradient of this function evaluated at x=100 + is NaN. For example: ```python x = tf.constant(100.)