# tensorflow::ops::TensorArrayClose

`#include <data_flow_ops.h>`

Delete the [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) from its resource container.

## Summary

This enables the user to close and release the resource in the middle of a step/run.

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) (output of [TensorArray](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) or [TensorArrayGrad](https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-grad#classtensorflow_1_1ops_1_1_tensor_array_grad)).

<br />

Returns:

- the created `https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation`

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-close#classtensorflow_1_1ops_1_1_tensor_array_close_1ab5ed3b657f40eaa4996badf026bfd639(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)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-close#classtensorflow_1_1ops_1_1_tensor_array_close_1a6f7610da9f8ff494f5d7cf3c8056953e` | `https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |

| ### Public functions ||
|---|---|
| `https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-close#classtensorflow_1_1ops_1_1_tensor_array_close_1a20f4809d157b1a557f5cd925131fedf2() const ` |   |

## Public attributes

### operation

```
Operation operation
```

## Public functions

### TensorArrayClose

```
 TensorArrayClose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle
)
```

### operator::tensorflow::Operation

```
 operator::tensorflow::Operation() const 
```