Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.compat.as_str

View source on GitHub
tf.compat.as_str(
    bytes_or_text, encoding='utf-8'
)