aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/util/compat_internal.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/util/compat_internal.py')
-rw-r--r--tensorflow/python/util/compat_internal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/util/compat_internal.py b/tensorflow/python/util/compat_internal.py
index fee1d6fab7..1905c3e383 100644
--- a/tensorflow/python/util/compat_internal.py
+++ b/tensorflow/python/util/compat_internal.py
@@ -18,6 +18,8 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
+from tensorflow.python.util.compat import as_str_any
+
def path_to_str(path):
"""Returns the file system path representation of a `PathLike` object,