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, otherwise the replacement is done only on the first 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, otherwise the replacement is done only on the first match.

Defaults to true