mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
TPUEstimator: Fix the outfeed thread join.
PiperOrigin-RevId: 165651781
This commit is contained in:
parent
19a55725af
commit
e31346452d
|
|
@ -283,7 +283,7 @@ class TPUInfeedOutfeedSessionHook(session_run_hook.SessionRunHook):
|
||||||
|
|
||||||
if self._dequeue_ops is not None:
|
if self._dequeue_ops is not None:
|
||||||
logging.info('Stop output thread controller')
|
logging.info('Stop output thread controller')
|
||||||
self._infeed_thd_controller.join()
|
self._outfeed_thd_controller.join()
|
||||||
|
|
||||||
logging.info('Shutdown TPU system.')
|
logging.info('Shutdown TPU system.')
|
||||||
session.run(self._finalize_op)
|
session.run(self._finalize_op)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user