# orbit.utils.get_value

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/orbit/utils/common.py#L93-L105) |

Returns input values, converting any TensorFlow values to NumPy values.

    orbit.utils.get_value(
        x
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | The input. May be a [`tf.Tensor`](https://www.tensorflow.org/api_docs/python/tf/Tensor) or [`tf.Variable`](https://www.tensorflow.org/api_docs/python/tf/Variable). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| If the input is a TensorFlow `Tensor`, returns the `Tensor`'s equivalent NumPy value. Otherwise, just returns the input. ||

<br />