From bc0a8d844304194be9d26b8716bf5065f370f386 Mon Sep 17 00:00:00 2001 From: Tzu-Wei Huang Date: Tue, 28 Apr 2020 01:27:09 +0800 Subject: [PATCH] fix doc --- tensorflow/python/debug/lib/check_numerics_callback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/debug/lib/check_numerics_callback.py b/tensorflow/python/debug/lib/check_numerics_callback.py index 26d45c3b589..edcafad201e 100644 --- a/tensorflow/python/debug/lib/check_numerics_callback.py +++ b/tensorflow/python/debug/lib/check_numerics_callback.py @@ -382,13 +382,13 @@ def enable_check_numerics(stack_height_limit=30, x = -1.0 # When the following line runs, a function graph will be compiled - # from the Python function `log_x_plus_1()`. Due to the + # from the Python function `square_log_x_plus_1()`. Due to the # `enable_check_numerics()` call above, the graph will contain # numerics checking ops that will run during the function graph's # execution. The function call generates an -infinity when the Log # (logarithm) op operates on the output tensor of the Add op. # The program errors out at this line, printing an error message. - y = log_x_plus_1(x) + y = square_log_x_plus_1(x) z = -y ```