Module: tf.strings

Operations for working with string Tensors.

Functions

as_string(...): Converts each entry in the given tensor to strings.

bytes_split(...): Split string elements of input into bytes.

format(...): Formats a string template using a list of tensors.

join(...): Perform element-wise concatenation of a list of string tensors.

length(...): String lengths of input.

lower(...): Converts all uppercase characters into their respective lowercase replacements.

ngrams(...): Create a tensor of n-grams based on data.

reduce_join(...): Joins all strings into a single string, or joins along an axis.

regex_full_match(...): Check if the input matches the regex pattern.

regex_replace(...): Replace elements of input matching regex pattern with rewrite.

split(...): Split elements of input based on sep into a RaggedTensor.

strip(...): Strip leading and trailing whitespaces from the Tensor.

substr(...): Return substrings from Tensor of strings.

to_hash_bucket(...): Converts each string in the input Tensor to its hash mod by a number of buckets.

to_hash_bucket_fast(...): Converts each string in the input Tensor to its hash mod by a number of buckets.

<