diff --git a/tensorflow/python/ops/check_ops.py b/tensorflow/python/ops/check_ops.py index 3085e05eaf6..bbb7ebdf8be 100644 --- a/tensorflow/python/ops/check_ops.py +++ b/tensorflow/python/ops/check_ops.py @@ -750,9 +750,9 @@ def assert_near_v2(x, y, rtol=None, atol=None, message=None, summarize=None, statically known. @compatibility(numpy) - Similar to `numpy.assert_allclose`, except tolerance depends on data type. - This is due to the fact that `TensorFlow` is often used with `32bit`, `64bit`, - and even `16bit` data. + Similar to `numpy.testing.assert_allclose`, except tolerance depends on data + type. This is due to the fact that `TensorFlow` is often used with `32bit`, + `64bit`, and even `16bit` data. @end_compatibility """ return assert_near(x=x, y=y, rtol=rtol, atol=atol, summarize=summarize, @@ -802,9 +802,9 @@ def assert_near( Op that raises `InvalidArgumentError` if `x` and `y` are not close enough. @compatibility(numpy) - Similar to `numpy.assert_allclose`, except tolerance depends on data type. - This is due to the fact that `TensorFlow` is often used with `32bit`, `64bit`, - and even `16bit` data. + Similar to `numpy.testing.assert_allclose`, except tolerance depends on data + type. This is due to the fact that `TensorFlow` is often used with `32bit`, + `64bit`, and even `16bit` data. @end_compatibility """ message = message or ''