# tf.raw_ops.TensorListGetItem

<br />

Returns the item in the list with the given index.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.TensorListGetItem(
        input_handle, index, element_shape, element_dtype, name=None
    )

input_handle: the list
index: the position in the list from which an element will be retrieved
item: the element at that position

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input_handle` | A `Tensor` of type `variant`. |
| `index` | A `Tensor` of type `int32`. |
| `element_shape` | A `Tensor` of type `int32`. |
| `element_dtype` | A [`tf.DType`](https://www.tensorflow.org/versions/r2.13/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 />