TensorFlow

API

 tf.config / experimental_connect_to_host


Enables / disables eager execution of tf.functions. (deprecated)

Used in the notebooks

Used in the guide

Calling tf.config.experimental_run_functions_eagerly(True) will make all invocations of tf.function run eagerly instead of running as a traced graph function.

See tf.config.run_functions_eagerly for an example.

run_eagerly Boolean. Whether to run functions eagerly.

此页内容是否对您有帮助