Get string out of a tensor string
How to pass arguments to a map function
import tensorflow as tf
tf.constant('hello')
<tf.Tensor: shape=(), dtype=string, numpy=b'hello'>
tf.constant('hello').numpy()
b'hello'
tf.constant('hello').numpy().decode('utf-8')
'hello'