संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: रेगेक्सरिप्लेस:: Attrs
#include <string_ops.h>
RegexReplace के लिए वैकल्पिक विशेषता सेटर।
सारांश
सार्वजनिक समारोह |
---|
ReplaceGlobal (bool x) | यदि सही है, तो प्रतिस्थापन वैश्विक है (अर्थात, प्रत्येक इनपुट स्ट्रिंग में pattern नियमित अभिव्यक्ति के सभी मिलान फिर से लिखे गए हैं), अन्यथा rewrite प्रतिस्थापन केवल पहले pattern मिलान के लिए किया जाता है। |
सार्वजनिक गुण
बदलें_वैश्विक_
bool tensorflow::ops::RegexReplace::Attrs::replace_global_ = true
सार्वजनिक समारोह
रिप्लेसग्लोबल
TF_MUST_USE_RESULT Attrs tensorflow::ops::RegexReplace::Attrs::ReplaceGlobal(
bool x
)
यदि सही है, तो प्रतिस्थापन वैश्विक है (अर्थात, प्रत्येक इनपुट स्ट्रिंग में pattern
नियमित अभिव्यक्ति के सभी मिलान फिर से लिखे गए हैं), अन्यथा rewrite
प्रतिस्थापन केवल पहले pattern
मिलान के लिए किया जाता है।
डिफ़ॉल्ट सत्य पर
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::RegexReplace::Attrs Struct Reference\n\ntensorflow::ops::RegexReplace::Attrs\n====================================\n\n`#include \u003cstring_ops.h\u003e`\n\nOptional attribute setters for [RegexReplace](/versions/r2.2/api_docs/cc/class/tensorflow/ops/regex-replace#classtensorflow_1_1ops_1_1_regex_replace).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------|--------|\n| [replace_global_](#structtensorflow_1_1ops_1_1_regex_replace_1_1_attrs_1a5af07627be1e5135a19c9447eed1b91d)` = true` | `bool` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ReplaceGlobal](#structtensorflow_1_1ops_1_1_regex_replace_1_1_attrs_1a9d0355cf5575240f3f5f4f053ad64bd1)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/regex-replace/attrs#structtensorflow_1_1ops_1_1_regex_replace_1_1_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. |\n\nPublic attributes\n-----------------\n\n### replace_global_\n\n```scdoc\nbool tensorflow::ops::RegexReplace::Attrs::replace_global_ = true\n``` \n\nPublic functions\n----------------\n\n### ReplaceGlobal\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::RegexReplace::Attrs::ReplaceGlobal(\n bool x\n)\n``` \nIf 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.\n\nDefaults to true"]]