# tf.raw_ops.TensorListGather

<br />

Creates a Tensor by indexing into the TensorList.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.TensorListGather(
        input_handle, indices, element_shape, element_dtype, name=None
    )

Each row in the produced Tensor corresponds to the element in the TensorList
specified by the given index (see [`tf.gather`](https://www.tensorflow.org/api_docs/python/tf/gather)).

input_handle: The input tensor list.
indices: The indices used to index into the list.
values: The tensor.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input_handle` | A `Tensor` of type `variant`. |
| `indices` | A `Tensor` of type `int32`. |
| `element_shape` | A `Tensor` of type `int32`. |
| `element_dtype` | A [`tf.DType`](https://www.tensorflow.org/api_docs/python/tf/dtypes/DType). |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />