# Module: tf.compat.v1.config.experimental

<br />

|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 1 version](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/compat/v1/config/experimental) |

Public API for tf.config.experimental namespace.

## Classes

[`class VirtualDeviceConfiguration`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/LogicalDeviceConfiguration): Configuration class for a logical devices.

## Functions

[`disable_mlir_bridge(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/disable_mlir_bridge): Disables experimental MLIR-Based TensorFlow Compiler Bridge.

[`enable_mlir_bridge(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/enable_mlir_bridge): Enables experimental MLIR-Based TensorFlow Compiler Bridge.

[`get_device_policy(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/get_device_policy): Gets the current device policy.

[`get_memory_growth(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/get_memory_growth): Get if memory growth is enabled for a `PhysicalDevice`.

[`get_synchronous_execution(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/get_synchronous_execution): Gets whether operations are executed synchronously or asynchronously.

[`get_virtual_device_configuration(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/get_logical_device_configuration): Get the virtual device configuration for a [`tf.config.PhysicalDevice`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/PhysicalDevice).

[`get_visible_devices(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/get_visible_devices): Get the list of visible physical devices.

[`list_logical_devices(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/list_logical_devices): Return a list of logical devices created by runtime.

[`list_physical_devices(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/list_physical_devices): Return a list of physical devices visible to the host runtime.

[`set_device_policy(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/set_device_policy): Sets the current thread device policy.

[`set_memory_growth(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/set_memory_growth): Set if memory growth should be enabled for a `PhysicalDevice`.

[`set_synchronous_execution(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/experimental/set_synchronous_execution): Specifies whether operations are executed synchronously or asynchronously.

[`set_virtual_device_configuration(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/set_logical_device_configuration): Set the logical device configuration for a [`tf.config.PhysicalDevice`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/PhysicalDevice).

[`set_visible_devices(...)`](https://www.tensorflow.org/versions/r2.1/api_docs/python/tf/config/set_visible_devices): Set the list of visible devices.