Home
last modified time | relevance | path

Searched refs:EVALUATOR (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator.py44 EVALUATOR = "evaluator" variable in _TaskType
172 if not self._cluster_spec or self._task_type == _TaskType.EVALUATOR:
197 self._task_type in [_TaskType.CHIEF, _TaskType.EVALUATOR, None]):
278 return bool(self._cluster_spec) and self._task_type != _TaskType.EVALUATOR
339 if task_type == _TaskType.EVALUATOR:
375 if task_type == _TaskType.EVALUATOR:
376 assert _TaskType.EVALUATOR in new_cluster_spec
378 _TaskType.EVALUATOR: new_cluster_spec[_TaskType.EVALUATOR]
381 new_cluster_spec.pop(_TaskType.EVALUATOR, None)
459 if _TaskType.EVALUATOR in cluster_spec.jobs:
[all …]
Ddistribute_coordinator_test.py59 EVALUATOR = distribute_coordinator._TaskType.EVALUATOR variable
218 cluster_spec[EVALUATOR] = ["localhost:%s" % portpicker.pick_unused_port()]
572 cluster_spec[EVALUATOR] = ["fake_evaluator"]
584 self.assertTrue(EVALUATOR in self._worker_context)
586 self.assertEqual(len(self._worker_context[EVALUATOR]), 1)
592 self.assertEqual(self._worker_context[EVALUATOR][0], ("", 3, True, False))
744 self._join_threads([threads[EVALUATOR][0]])
749 self.assertTrue(EVALUATOR in self._worker_context)
751 self.assertEqual(len(self._worker_context[EVALUATOR]), 1)
757 self.assertEqual(self._worker_context[EVALUATOR][0], ("", 3, True, False))
Destimator_training.py33 EVALUATOR = dc._TaskType.EVALUATOR variable
104 if config._task_type != EVALUATOR: