String Ops

Summary

Classes
tensorflow::ops::AsString

Converts each entry in the given tensor to strings.

tensorflow::ops::DecodeBase64

Decode web-safe base64-encoded strings.

tensorflow::ops::EncodeBase64

Encode strings into web-safe base64 format.

tensorflow::ops::ReduceJoin

Joins a string Tensor across the given dimensions.

tensorflow::ops::RegexFullMatch

Check if the input matches the regex pattern.

tensorflow::ops::RegexReplace

Replaces matches of the pattern regular expression in input with the replacement string provided in rewrite.

tensorflow::ops::StringFormat

Formats a string template using a list of tensors.

tensorflow::ops::StringJoin

Joins the strings in the given list of string tensors into one tensor;.

tensorflow::ops::StringLength

String lengths of input.

tensorflow::ops::StringLower

Converts all uppercase characters into their respective lowercase replacements.

tensorflow::ops::StringNGrams

Creates ngrams from ragged string data.

tensorflow::ops::StringSplit

Split elements of input based on delimiter into a SparseTensor.

tensorflow::ops::StringSplitV2

Split elements of source based on sep into a SparseTensor.

tensorflow::ops::StringStrip

Strip leading and trailing whitespaces from the Tensor.

tensorflow::ops::StringToHashBucket

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

tensorflow::ops::StringToHashBucketFast

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

tensorflow::ops::StringToHashBucketStrong

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

tensorflow::ops::StringUpper

Converts all lowercase characters into their respective uppercase replacements.

tensorflow::ops::Substr

Return substrings from Tensor of strings.

tensorflow::ops::UnicodeScript

Determine the script codes of a given tensor of Unicode integer code points.

tensorflow::ops::UnicodeTranscode

Transcode the input text from a source encoding to a destination encoding.

tensorflow::ops::UnsortedSegmentJoin

Joins the elements of inputs based on segment_ids.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/group/string-ops