View source on GitHub |
Enables / disables eager execution of tf.function
s. (deprecated)
tf.config.experimental_run_functions_eagerly( run_eagerly )
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.
Note: This flag has no effect on functions passed into tf.data transformations as arguments. tf.data functions are never executed eagerly and are always executed as a compiled Tensorflow Graph.
Args | |
---|---|
run_eagerly | Boolean. Whether to run functions eagerly. |
© 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/r2.4/api_docs/python/tf/config/experimental_run_functions_eagerly