예제 #1
0
 def async_wait(self):
     """Waits for ops dispatched in ASYNC mode to finish."""
     pywrap_tensorflow.TFE_ContextAsyncWait(self._handle)
예제 #2
0
파일: context.py 프로젝트: bdnf/Tensorflow
 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)