Home
last modified time | relevance | path

Searched refs:_COPY_POOL (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils_v1_test.py284 self._old_pool = training_utils_v1._COPY_POOL
288 training_utils_v1._COPY_POOL = MonitoredPool(
293 training_utils_v1._COPY_POOL = self._old_pool
382 self.assertEqual(training_utils_v1._COPY_POOL._apply_counter, 2)
387 training_utils_v1._COPY_POOL._func_wrapper = add_sleep
394 training_utils_v1._COPY_POOL._func_wrapper = cause_error
Dtraining_utils_v1.py315 _COPY_POOL = None variable
327 global _COPY_POOL
328 if _COPY_POOL is None:
329 _COPY_POOL = multiprocessing.pool.ThreadPool(_COPY_THREADS)
330 atexit.register(_COPY_POOL.close)
331 return _COPY_POOL