# tf.raw_ops.TensorArrayGatherV3

<br />

Gather specific elements from the TensorArray into output `value`.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.TensorArrayGatherV3`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorArrayGatherV3)

<br />

    tf.raw_ops.TensorArrayGatherV3(
        handle, indices, flow_in, dtype, element_shape=None, name=None
    )

All elements selected by `indices` must have the same shape.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `handle` | A `Tensor` of type `resource`. The handle to a TensorArray. |
| `indices` | A `Tensor` of type `int32`. The locations in the TensorArray from which to read tensor elements. |
| `flow_in` | A `Tensor` of type `float32`. A float scalar that enforces proper chaining of operations. |
| `dtype` | A [`tf.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType). The type of the elem that is returned. |
| `element_shape` | An optional [`tf.TensorShape`](https://www.tensorflow.org/api_docs/python/tf/TensorShape) or list of `ints`. Defaults to `None`. The expected shape of an element, if known. Used to validate the shapes of TensorArray elements. If this shape is not fully specified, gathering zero-size TensorArrays is an error. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `dtype`. ||

<br />