# tf.config.experimental_run_functions_eagerly

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/eager/polymorphic_function/quarantine.py#L61-L84) |

Enables / disables eager execution of [`tf.function`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/function)s. (deprecated)

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.config.experimental_run_functions_eagerly(
        run_eagerly
    )

> [!WARNING]
> **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use [`tf.config.run_functions_eagerly`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/config/run_functions_eagerly) instead of the experimental version.

Calling [`tf.config.experimental_run_functions_eagerly(True)`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/config/experimental_run_functions_eagerly) will make all
invocations of [`tf.function`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/function) run eagerly instead of running as a traced graph
function.

See [`tf.config.run_functions_eagerly`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/config/run_functions_eagerly) for an example.

> [!NOTE]
> **Note:** This flag has no effect on functions passed into tf.data transformations as arguments. tf.data functions are never executed eagerly and are always executed as a compiled Tensorflow Graph.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `run_eagerly` | Boolean. Whether to run functions eagerly. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| None ||

<br />