W3cubDocs

/TensorFlow Python

tf.executing_eagerly

Aliases:

  • tf.contrib.eager.executing_eagerly
  • tf.contrib.eager.in_eager_mode
  • tf.executing_eagerly
tf.executing_eagerly()

Defined in tensorflow/python/eager/context.py.

Returns True if the current thread has eager execution enabled.

Eager execution is typically enabled via tf.enable_eager_execution, but may also be enabled within the context of a Python function via tf.contrib.eager.py_func.

© 2018 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/api_docs/python/tf/executing_eagerly