# tf.raw_ops.OptionalFromValue

<br />

Constructs an Optional variant from a tuple of tensors.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.OptionalFromValue(
        components, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `components` | A list of `Tensor` objects. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />