tensorflow:: אופס:: RegexFullMatch
#include <string_ops.h>
בדוק אם הקלט תואם לתבנית הביטוי הרגולרי.
תַקצִיר
הקלט הוא טנזור מיתר מכל צורה. התבנית היא טנסור מחרוזת סקלרית המוחלת על כל אלמנט של טנסור הקלט. הערכים הבוליאניים (True או False) של טנסור הפלט מציינים אם הקלט תואם את תבנית הביטוי הרגולרי שסופק.
הדפוס עוקב אחר תחביר re2 ( https://github.com/google/re2/wiki/Syntax )
טיעונים:
- scope: אובייקט Scope
- קלט: טנסור מחרוזת של הטקסט שיש לעבד.
- תבנית: טנזור מחרוזת סקלרית המכיל את הביטוי הרגולרי כדי להתאים לקלט.
החזרות:
-
Output
: טנזור בוול עם אותה צורה כמוinput
.
בנאים והורסים | |
---|---|
RegexFullMatch (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input pattern) |
תכונות ציבוריות | |
---|---|
operation | |
output |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
RegexFullMatch
RegexFullMatch( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input pattern )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# tensorflow::ops::RegexFullMatch Class Reference\n\ntensorflow::ops::RegexFullMatch\n===============================\n\n`#include \u003cstring_ops.h\u003e`\n\nCheck if the input matches the regex pattern.\n\nSummary\n-------\n\nThe input is a string tensor of any shape. The pattern is a scalar string tensor which is applied to every element of the input tensor. The boolean values (True or False) of the output tensor indicate if the input matches the regex pattern provided.\n\nThe pattern follows the re2 syntax (\u003chttps://github.com/google/re2/wiki/Syntax\u003e)\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: A string tensor of the text to be processed.\n- pattern: A scalar string tensor containing the regular expression to match the input.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A bool tensor with the same shape as `input`.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [RegexFullMatch](#classtensorflow_1_1ops_1_1_regex_full_match_1a9aabe9286270dc27b6fd82316259b98e)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` pattern)` ||\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_regex_full_match_1a42931e9f1b9b6a6bcf35282d06977871) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_regex_full_match_1a2347cdeb355a1b911773cfbabbffd8b8) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_regex_full_match_1a736ef64245d191a4ff7e4c67d8e655bd)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_regex_full_match_1a1b4546c550f423ff22828fc63e04ae23)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_regex_full_match_1a3552df1d0b65b824e61669da96bf8f10)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### RegexFullMatch\n\n```gdscript\n RegexFullMatch(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input pattern\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]