tf.strings.length

View source on GitHub

tf.strings.length(
    input, unit='BYTE', name=None
)