Removed unnneded tf_export
authorYong Tang <yong.tang.github@outlook.com>
Tue, 17 Apr 2018 16:14:50 +0000 (16:14 +0000)
committerYong 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

index 73fc5d1..074640d 100644 (file)
@@ -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.