Module: tf.config
Stay organized with collections
Save and categorize content based on your preferences.
Public API for tf.config namespace.
Modules
experimental
module: Public API for tf.config.experimental namespace.
optimizer
module: Public API for tf.config.optimizer namespace.
threading
module: Public API for tf.config.threading namespace.
Functions
experimental_connect_to_cluster(...)
: Connects to the given cluster.
experimental_connect_to_host(...)
: Connects to a single machine to enable remote execution on it.
experimental_list_devices(...)
: List the names of the available devices.
experimental_run_functions_eagerly(...)
: Enables / disables eager execution of tf.function
s.
get_soft_device_placement(...)
: Get if soft device placement is enabled.
set_soft_device_placement(...)
: Set if soft device placement is enabled.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# Module: tf.config\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------|\n| [TensorFlow 1 version](/versions/r1.15/api_docs/python/tf/config) |\n\nPublic API for tf.config namespace.\n\nModules\n-------\n\n[`experimental`](../tf/config/experimental) module: Public API for tf.config.experimental namespace.\n\n[`optimizer`](../tf/config/optimizer) module: Public API for tf.config.optimizer namespace.\n\n[`threading`](../tf/config/threading) module: Public API for tf.config.threading namespace.\n\nFunctions\n---------\n\n[`experimental_connect_to_cluster(...)`](../tf/config/experimental_connect_to_cluster): Connects to the given cluster.\n\n[`experimental_connect_to_host(...)`](../tf/config/experimental_connect_to_host): Connects to a single machine to enable remote execution on it.\n\n[`experimental_list_devices(...)`](../tf/config/experimental_list_devices): List the names of the available devices.\n\n[`experimental_run_functions_eagerly(...)`](../tf/config/experimental_run_functions_eagerly): Enables / disables eager execution of [`tf.function`](../tf/function)s.\n\n[`get_soft_device_placement(...)`](../tf/config/get_soft_device_placement): Get if soft device placement is enabled.\n\n[`set_soft_device_placement(...)`](../tf/config/set_soft_device_placement): Set if soft device placement is enabled."]]