# tf.contrib.framework.get_unique_variable

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/framework/python/ops/variables.py#L491-L511) |

Gets the variable uniquely identified by that var_op_name.

    tf.contrib.framework.get_unique_variable(
        var_op_name
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `var_op_name` | the full name of the variable op, including the scope. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| a tensorflow variable. ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | if no variable uniquely identified by the name exists. |

<br />