Announcing the TensorFlow Dev Summit 2020 Learn more

tf.contrib.eager.set_execution_mode

View source on GitHub

Sets execution mode for the current thread.

tf.contrib.eager.set_execution_mode(mode)