Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

tf.config.experimental.get_synchronous_execution

TensorFlow 1 version View source on GitHub

Gets whether operations are executed synchronously or asynchronously.

TensorFlow can execute operations synchronously or asynchronously. If asynchronous execution is enabled, operations may return "non-ready" handles.

Current thread execution mode