コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::文字列結合
#include <string_ops.h>
指定された文字列テンソルのリスト内の文字列を 1 つのテンソルに結合します。
まとめ
指定された区切り文字を使用します (デフォルトは空の区切り文字です)。
引数:
- スコープ:スコープオブジェクト
- 入力: 文字列テンソルのリスト。テンソルはすべて同じ形状であるか、スカラーである必要があります。スカラーが混合される場合があります。これらは非スカラー入力の形状にブロードキャストされます。
オプションの属性 ( Attrs
を参照):
- separator: 文字列、オプションの結合区切り文字。
戻り値:
パブリック属性
公共機能
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
セパレータ
Attrs Separator(
StringPiece x
)
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 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.0/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.0/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.0/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.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::InputList](/versions/r2.0/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.0/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::InputList](/versions/r2.0/api_docs/cc/class/tensorflow/input-list#classtensorflow_1_1_input_list)` inputs, const `[StringJoin::Attrs](/versions/r2.0/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.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_string_join_1ad7d4e015e3580cc089259af4c8de6a98) | `::`[tensorflow::Output](/versions/r2.0/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.0/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.0/api_docs/cc/struct/tensorflow/ops/string-join/attrs) | Optional attribute setters for [StringJoin](/versions/r2.0/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```"]]