텐서플로우:: 작전:: TensorArrayConcat
bookmark_borderbookmark
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
#include <data_flow_ops.h>
TensorArray 의 요소를 value value
으로 연결합니다 .
요약
모양의 T
요소를 사용합니다.
(n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)
그리고 그것들을 모양의 Tensor 로 연결합니다:
``(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 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[[["이해하기 쉬움","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(UTC)"],[],[],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````"]]