با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
جریان تنسور:: عملیات:: TensorArrayConcat
#include <data_flow_ops.h>
عناصر را از TensorArray با value
مقدار ترکیب کنید .
خلاصه
عناصر T
از اشکال را می گیرد
(n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)
و آنها را به یک تانسور شکل به هم متصل می کند:
```(n0 + n1 + ... + n(T-1) x d0 x d1 x ...)
All elements must have the same shape (excepting the first dimension).
Arguments:
* scope: A Scope object
* handle: The handle to a TensorArray.
* flow_in: A float scalar that enforces proper chaining of operations.
* dtype: The type of the elem that is returned.
Optional attributes (see Attrs
):
* element_shape_except0: The expected shape of an element, if known,
excluding the first dimension. Used to validate the shapes of
TensorArray elements. If this shape is not fully specified, concatenating
zero-size TensorArrays is an error.
Returns:
* Output
value: All of the elements in the TensorArray, concatenated along the first
axis.
* Output
lengths: A vector of the row sizes of the original T elements in the
value output. In the example above, this would be the values:
(n1, n2, ..., n(T-1))
.
صفات عمومی
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# tensorflow::ops::TensorArrayConcat Class Reference\n\ntensorflow::ops::TensorArrayConcat\n==================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\n[Concat](/versions/r2.2/api_docs/cc/class/tensorflow/ops/concat#classtensorflow_1_1ops_1_1_concat) the elements from the [TensorArray](/versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) into value `value`.\n\nSummary\n-------\n\nTakes `T` elements of shapes\n\n\n```text\n (n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)\n \n```\n\n\u003cbr /\u003e\n\nand concatenates them into a [Tensor](/versions/r2.2/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of shape:\n\n\\`\\`\\`(n0 + n1 + ... + n(T-1) x d0 x d1 x ...) \n\n````text\n\n \n /versions/r2.2/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_all elements must have the same shape (excepting the first dimension).\n \n \n \n```carbon\nArguments:\n* scope: A Scope object\n* handle: The handle to a TensorArray.\n* flow_in: A float scalar that enforces proper chaining of operations.\n* dtype: The type of the elem that is returned.\n```\n\n \n \n \n Optional attributes (see /versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs):\n * element_shape_except0: The expected shape of an element, if known,\n excluding the first dimension. Used to validate the shapes of\n TensorArray elements. If this shape is not fully specified, concatenating\n zero-size TensorArrays is an error.\n\n\n\n \n \n \n Returns:\n * /versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output value: /versions/r2.2/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_all of the elements in the /versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array, concatenated along the first\n axis.\n * /versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output lengths: A vector of the row sizes of the original T elements in the\n value output. In the example above, this would be the values:\n (n1, n2, ..., n(T-1)). \n\n\n\n \n \n \n \n \n### Constructors and Destructors\n\n\n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1aab54b53cc7e1c5f65154a9ab7a3a2b6f`(const ::`/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope` & scope, ::`/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input` handle, ::`/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input` flow_in, DataType dtype)`\n \n\n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1adce330002ce711626c4b067bca8eb40e`(const ::`/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope` & scope, ::`/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input` handle, ::`/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input` flow_in, DataType dtype, const `/versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs` & attrs)`\n \n\n \n \n \n \n \n \n \n### Public attributes\n\n\n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1af3dca4f4a395a0bb0702e092086e7b03\n \n \n \n `::`/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output\n \n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1a680b113e26c09068a4f01c01f797b085\n \n \n \n /versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation\n \n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1a636fe92f677b9f2e9d667fa338837b4e\n \n \n \n `::`/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output\n \n \n \n \n \n \n \n \n### Public static functions\n\n\n \n \n \n \n #classtensorflow_1_1ops_1_1_tensor_array_concat_1a2e0ae98efaf62f30ca8b83f5f42baa76`(PartialTensorShape x)`\n \n \n \n /versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs\n \n \n \n \n \n \n \n \n### Structs\n\n\n \n \n \n \n /versions/r2.2/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs\n \n \n Optional attribute setters for /versions/r2.2/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat. \n\n \n \n \n Public attributes\n \n \n### lengths\n\n\n \n\n\n```text\n::tensorflow::Output lengths\n```\n\n \n\n \n \n \n### operation\n\n\n \n\n\n```text\nOperation operation\n```\n\n \n\n \n \n \n### value\n\n\n \n\n\n```text\n::tensorflow::Output value\n```\n\n \n\n \n Public functions\n \n \n### TensorArrayConcat\n\n\n \n\n\n```gdscript\n TensorArrayConcat(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input flow_in,\n DataType dtype\n)\n```\n\n \n\n \n \n \n### TensorArrayConcat\n\n\n \n\n\n```gdscript\n TensorArrayConcat(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n ::tensorflow::Input flow_in,\n DataType dtype,\n const TensorArrayConcat::Attrs & attrs\n)\n```\n\n \n\n \n Public static functions\n \n \n### ElementShapeExcept0\n\n\n \n\n\n```text\nAttrs ElementShapeExcept0(\n PartialTensorShape x\n)\n```\n\n \n\n \n\n \n\n \n````"]]