From d9b98c4d16d4f4ef4165f15605f4c4d8b30c43bf Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 1 Apr 2019 01:08:53 +0000 Subject: [PATCH] Rename tf.where_v2 to tf.compat.v2.where, as rename script has to work in v1 and v2 so explicitly specifying tf.compat.v2.where (from review comment). Signed-off-by: Yong Tang --- tensorflow/tools/compatibility/renames_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/tools/compatibility/renames_v2.py b/tensorflow/tools/compatibility/renames_v2.py index 6e44ed07cd2..aab14379ed7 100644 --- a/tensorflow/tools/compatibility/renames_v2.py +++ b/tensorflow/tools/compatibility/renames_v2.py @@ -1518,7 +1518,7 @@ renames = { 'tf.where': 'tf.compat.v1.where', 'tf.where_v2': - 'tf.where', + 'tf.compat.v2.where', 'tf.wrap_function': 'tf.compat.v1.wrap_function', 'tf.write_file':