# tf.raw_ops.RefSelect

<br />

Forwards the `index`th element of `inputs` to `output`.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.RefSelect(
        index, inputs, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `index` | A `Tensor` of type `int32`. A scalar that determines the input that gets selected. |
| `inputs` | A list of at least 1 mutable `Tensor` objects with the same type. A list of ref tensors, one of which will be forwarded to `output`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A mutable `Tensor`. Has the same type as `inputs`. ||

<br />