Save the date! Google I/O returns May 18-20 Register now

tf.config.experimental.get_synchronous_execution

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