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 <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2019-04-01 01:08:53 +00:00
parent 70e39f214e
commit d9b98c4d16

View File

@ -1518,7 +1518,7 @@ renames = {
'tf.where': 'tf.where':
'tf.compat.v1.where', 'tf.compat.v1.where',
'tf.where_v2': 'tf.where_v2':
'tf.where', 'tf.compat.v2.where',
'tf.wrap_function': 'tf.wrap_function':
'tf.compat.v1.wrap_function', 'tf.compat.v1.wrap_function',
'tf.write_file': 'tf.write_file':