Module: tf.config

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.functions.

get_soft_device_placement(...): Get if soft device placement is enabled.

set_soft_device_placement(...): Set if soft device placement is enabled.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/config