텐서플로우:: ops:: RegexReplace:: Attrs

#include <string_ops.h>

RegexReplace 에 대한 선택적 속성 설정기입니다.

요약

공개 속성

replace_global_ = true
bool

공공 기능

ReplaceGlobal (bool x)
TF_MUST_USE_RESULT Attrs
True인 경우, 대체는 전역적으로 수행됩니다(즉, 각 입력 문자열에서 pattern 정규 표현식과 일치하는 모든 부분이 다시 작성됩니다). 그렇지 않으면 rewrite 대체는 첫 번째 pattern 일치에 대해서만 수행됩니다.

공개 속성

replace_global_

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

공공 기능

글로벌을 대체하세요

TF_MUST_USE_RESULT Attrs tensorflow::ops::RegexReplace::Attrs::ReplaceGlobal(
  bool x
)

True인 경우, 대체는 전역적으로 수행됩니다(즉, 각 입력 문자열에서 pattern 정규 표현식과 일치하는 모든 부분이 다시 작성됩니다). 그렇지 않으면 rewrite 대체는 첫 번째 pattern 일치에 대해서만 수행됩니다.

기본값은 true입니다.