Module: tf.config

TensorFlow 2 version

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.