projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe887e
)
Removed unnneded tf_export
author
Yong Tang
<yong.tang.github@outlook.com>
Tue, 17 Apr 2018 16:14:50 +0000
(16:14 +0000)
committer
Yong Tang
<yong.tang.github@outlook.com>
Tue, 17 Apr 2018 16:14:50 +0000
(16:14 +0000)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/python/util/compat.py
patch
|
blob
|
history
diff --git
a/tensorflow/python/util/compat.py
b/tensorflow/python/util/compat.py
index
73fc5d1
..
074640d
100644
(file)
--- a/
tensorflow/python/util/compat.py
+++ b/
tensorflow/python/util/compat.py
@@
-45,7
+45,6
@@
from tensorflow.python.util.tf_export import tf_export
from tensorflow.python.util.tf_export import tf_export
-@tf_export('compat.as_bytes', 'compat.as_str')
def as_bytes(bytes_or_text, encoding='utf-8'):
"""Converts either bytes or unicode to `bytes`, using utf-8 encoding for text.