# tensorflow::ops::TensorArrayConcat

`#include <data_flow_ops.h>`

[Concat](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/concat#classtensorflow_1_1ops_1_1_concat) the elements from the [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) into value `value`.

## Summary

Takes `T` elements of shapes


```
  (n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...)
  
```

<br />

and concatenates them into a [Tensor](https://www.tensorflow.org/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of shape:


```
  (n0 + n1 + ... + n(T-1) x d0 x d1 x ...)
  
```

<br />

[All](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_all) elements must have the same shape (excepting the first dimension).

Args:

- scope: A [Scope](https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- handle: The handle to a [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array).
- flow_in: A float scalar that enforces proper chaining of operations.
- dtype: The type of the elem that is returned.

<br />

Optional attributes (see `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs`):

- element_shape_except0: The expected shape of an element, if known, excluding the first dimension. Used to validate the shapes of [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) elements. If this shape is not fully specified, concatenating zero-size TensorArrays is an error.

<br />

Returns:

- `https://www.tensorflow.org/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` value: [All](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/all#classtensorflow_1_1ops_1_1_all) of the elements in the [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array), concatenated along the first axis.
- `https://www.tensorflow.org/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_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))`.

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1aab54b53cc7e1c5f65154a9ab7a3a2b6f(const ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input handle, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input flow_in, DataType dtype)` ||
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1adce330002ce711626c4b067bca8eb40e(const ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input handle, ::https://www.tensorflow.org/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input flow_in, DataType dtype, const https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs & attrs)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1af3dca4f4a395a0bb0702e092086e7b03` | `::https://www.tensorflow.org/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1a680b113e26c09068a4f01c01f797b085` | `https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1a636fe92f677b9f2e9d667fa338837b4e` | `::https://www.tensorflow.org/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |

| ### Public static functions ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat_1a2e0ae98efaf62f30ca8b83f5f42baa76(PartialTensorShape x)` | `https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs#structtensorflow_1_1ops_1_1_tensor_array_concat_1_1_attrs` |

| ### Structs ||
|---|---|
| [tensorflow::ops::TensorArrayConcat::Attrs](https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/tensor-array-concat/attrs) | Optional attribute setters for [TensorArrayConcat](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-concat#classtensorflow_1_1ops_1_1_tensor_array_concat). |

## Public attributes

### lengths

```
::tensorflow::Output lengths
```

### operation

```
Operation operation
```

### value

```
::tensorflow::Output value
```

## Public functions

### TensorArrayConcat

```
 TensorArrayConcat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input flow_in,
  DataType dtype
)
```

### TensorArrayConcat

```
 TensorArrayConcat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input flow_in,
  DataType dtype,
  const TensorArrayConcat::Attrs & attrs
)
```

## Public static functions

### ElementShapeExcept0

```
Attrs ElementShapeExcept0(
  PartialTensorShape x
)
```