tensorflow:: אופס:: StringJoin
#include <string_ops.h>
מצרף את המיתרים ברשימה הנתונה של טנסור המיתרים לטנזור אחד;.
תַקצִיר
עם המפריד הנתון (ברירת המחדל היא מפריד ריק).
טיעונים:
- scope: אובייקט Scope
- כניסות: רשימה של טנסור מיתר. לכל הטנזורים יש את אותה צורה, או להיות סקלרים. סקלרים עשויים להיות מעורבים; אלה ישודרו בצורה של קלט לא סקלארי.
מאפיינים אופציונליים (ראה Attrs
):
- מפריד: מחרוזת, מפריד צירוף אופציונלי.
החזרות:
-
Output
: טנסור הפלט.
בנאים והורסים | |
---|---|
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringJoin::Attrs & attrs) |
תכונות ציבוריות | |
---|---|
operation | |
output |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
Separator (StringPiece x) |
מבנים | |
---|---|
tensorflow:: ops:: StringJoin:: Attrs | קובעי תכונות אופציונליים עבור StringJoin . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringJoin::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
מפריד
Attrs Separator( StringPiece x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# tensorflow::ops::StringJoin Class Reference\n\ntensorflow::ops::StringJoin\n===========================\n\n`#include \u003cstring_ops.h\u003e`\n\nJoins the strings in the given list of string tensors into one tensor;.\n\nSummary\n-------\n\nwith the given separator (default is an empty separator).\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- inputs: A list of string tensors. The tensors must all have the same shape, or be scalars. Scalars may be mixed in; these will be broadcast to the shape of non-scalar inputs.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/string-join/attrs#structtensorflow_1_1ops_1_1_string_join_1_1_attrs)):\n\n- separator: string, an optional join separator.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The output tensor.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [StringJoin](#classtensorflow_1_1ops_1_1_string_join_1a15c57f33fd4f7b08d95bf8cb9c05f0c9)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::InputList](/versions/r2.1/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` inputs)` ||\n| [StringJoin](#classtensorflow_1_1ops_1_1_string_join_1a43b051d46111b51b8b5d036b7aa003ad)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::InputList](/versions/r2.1/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` inputs, const `[StringJoin::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/string-join/attrs#structtensorflow_1_1ops_1_1_string_join_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_string_join_1aa505e860621ab8ebe74b66cb2237d671) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_string_join_1ad7d4e015e3580cc089259af4c8de6a98) | `::`[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_string_join_1a0e2875fbda42c85d6a67178b0167d873)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_string_join_1ac55b4cd4d63e5a3952e20cd5f02ae27c)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_string_join_1a7c4a6cddda218bf07e100623c0c7ae32)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| [Separator](#classtensorflow_1_1ops_1_1_string_join_1a40a9c12772d32dd2fd3c40779dce2198)`(StringPiece x)` | [Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/string-join/attrs#structtensorflow_1_1ops_1_1_string_join_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::StringJoin::Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/string-join/attrs) | Optional attribute setters for [StringJoin](/versions/r2.1/api_docs/cc/class/tensorflow/ops/string-join#classtensorflow_1_1ops_1_1_string_join). |\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### StringJoin\n\n```gdscript\n StringJoin(\n const ::tensorflow::Scope & scope,\n ::tensorflow::InputList inputs\n)\n``` \n\n### StringJoin\n\n```gdscript\n StringJoin(\n const ::tensorflow::Scope & scope,\n ::tensorflow::InputList inputs,\n const StringJoin::Attrs & attrs\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``` \n\nPublic static functions\n-----------------------\n\n### Separator\n\n```text\nAttrs Separator(\n StringPiece x\n)\n```"]]