সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: RegexReplace:: 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
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"]]