def async_wait(self): """Waits for ops dispatched in ASYNC mode to finish.""" pywrap_tensorflow.TFE_ContextAsyncWait(self._handle)
def async_wait(self): """Waits for ops dispatched in ASYNC mode to finish.""" with errors.raise_exception_on_not_ok_status() as status: pywrap_tensorflow.TFE_ContextAsyncWait(self._handle, status)