tf.compat.v2.strings.length

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