#include <string_ops.h>
Optional attribute setters for RegexReplace.
Public attributes | |
---|---|
replace_global_ = true | bool |
Public functions | |
---|---|
ReplaceGlobal(bool x) | TF_MUST_USE_RESULT Attrs If True, the replacement is global (that is, all matches of the pattern regular expression in each input string are rewritten), otherwise the rewrite substitution is only made for the first pattern match. |
bool tensorflow::ops::RegexReplace::Attrs::replace_global_ = true
TF_MUST_USE_RESULT Attrs tensorflow::ops::RegexReplace::Attrs::ReplaceGlobal( bool x )
If True, the replacement is global (that is, all matches of the pattern
regular expression in each input string are rewritten), otherwise the rewrite
substitution is only made for the first pattern
match.
Defaults to true
© 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/struct/tensorflow/ops/regex-replace/attrs