Returns True if the current thread has eager execution enabled.

Aliases:

  • tf.compat.v1.executing_eagerly
  • tf.compat.v2.executing_eagerly
 tf.executing_eagerly()

Used in the guide:

  • Eager execution

Used in the tutorials:

  • Customtraining:walkthrough``
  • Textclassification withTensorFlow Hub:Moviereviews`` tf.compat.v1.enable_eager_executionEager execution is typically enabled via , but may also be enabled within the context of a Python function via tf.contrib.eager.py_func.