Exemple #1
0
 def async_wait(self):
     """Waits for ops dispatched in ASYNC mode to finish."""
     pywrap_tensorflow.TFE_ContextAsyncWait(self._handle)
Exemple #2
0
 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)