Module: tf.strings

Defined in tensorflow/_api/v1/strings/__init__.py.

Operations for working with string Tensors.

See the Strings guide.

Functions

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

join(...): Joins the strings in the given list of string tensors into one tensor;

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

reduce_join(...): Joins a string Tensor across the given dimensions.

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

regex_replace(...): Replaces the match of pattern in input with rewrite.

split(...): Split elements of source based on sep into a SparseTensor.

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.

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

to_number(...): Converts each string in the input Tensor to the specified numeric type.

unicode_script(...): Determine the script codes of a given tensor of Unicode integer code points.