Converts all lowercase characters into their respective uppercase replacements.
tf.strings.upper(
input: Annotated[Any, _atypes.String],
encoding: str = '',
name=None
) -> Annotated[Any, _atypes.String]
Example:
tf.strings.upper("CamelCase string and ALL CAPS")
<tf.Tensor: shape=(), dtype=string, numpy=b'CAMELCASE STRING AND ALL CAPS'>
Returns | |
---|---|
A Tensor of type string .
|