tensorflow:: ops:: RegexReplace:: Attrs

#include <string_ops.h>

Optional attribute setters for RegexReplace .

Summary

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.

Public attributes

replace_global_

bool tensorflow::ops::RegexReplace::Attrs::replace_global_ = true

Public functions

ReplaceGlobal

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