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

tf.compat.v2.strings.length

View source on GitHub
tf.compat.v2.strings.length(
    input,
    unit='BYTE',
    name=None
)