TensorFlow 2.0 Beta is available Learn more

tf.contrib.eager.execution_mode

Context manager for setting execution mode for current thread.

tf.contrib.eager.execution_mode(mode)
View source on GitHub