TensorFlow 2.0 RC is available Learn more

tf.contrib.eager.execution_mode

View source on GitHub

Context manager for setting execution mode for current thread.

tf.contrib.eager.execution_mode(mode)