<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/framework/config.py#L202-L215) |

Get experimental optimizer options.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.config.optimizer.get_experimental_options()

### Used in the notebooks

| Used in the guide |
|---|
| - [TensorFlow graph optimization with Grappler](https://www.tensorflow.org/guide/graph_optimization) |

Refer to tf.config.optimizer.set_experimental_options for a list of current
options.

Note that optimizations are only applied in graph mode, (within tf.function).
In addition, as these are experimental options, the list is subject to change.

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Dictionary of configured experimental optimizer options ||

<br />