Home
last modified time | relevance | path

Searched refs:is_chief (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_util_test.py85 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "chief", 0))
86 self.assertFalse(multi_worker_util.is_chief(cluster_spec, "worker", 0))
90 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "worker", 0))
91 self.assertFalse(multi_worker_util.is_chief(cluster_spec, "worker", 1))
95 multi_worker_util.is_chief(cluster_spec, "chief", 0)
99 multi_worker_util.is_chief(cluster_spec, "worker", 2)
107 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "evaluator", 0))
Destimator_training.py96 config._is_chief = worker_context.is_chief
236 dc.CoordinatorMode.INDEPENDENT_WORKER or context.is_chief):
325 if context.is_chief:
374 if context.is_chief:
Dmulti_worker_util.py108 def is_chief(cluster_spec=None, task_type=None, task_id=None): function
133 return dc_context.get_current_worker_context().is_chief
Ddistribute_coordinator.py297 def is_chief(self): member in _WorkerContext
861 if context.is_chief:
Ddistribute_coordinator_test.py285 if context.is_chief:
369 context.is_chief,
Dparameter_server_strategy.py265 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
Dmulti_worker_test_base.py837 def is_chief(): function
Dcollective_all_reduce_strategy.py471 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py345 sv = supervisor.Supervisor(is_chief=True, logdir=logdir, summary_op=None)
392 sv = supervisor.Supervisor(is_chief=False)
401 sv = supervisor.Supervisor(is_chief=False)
550 def get_session(is_chief): argument
566 is_chief=is_chief,
608 def get_session(is_chief): argument
624 is_chief=is_chief,
683 sv = supervisor.Supervisor(logdir=logdir, init_op=None, is_chief=False)
722 supervisor.Supervisor(logdir=logdir, is_chief=False)
725 supervisor.Supervisor(logdir=logdir, is_chief=False)
[all …]
Dsync_replicas_optimizer.py446 def make_session_run_hook(self, is_chief, num_tokens=-1): argument
448 return _SyncReplicasOptimizerHook(self, is_chief, num_tokens)
454 def __init__(self, sync_optimizer, is_chief, num_tokens): argument
463 self._is_chief = is_chief
Dsync_replicas_optimizer_test.py38 is_chief = (worker_id == 0)
69 is_chief, num_tokens=num_workers)
74 is_chief=is_chief,
Dmonitored_session_test.py294 is_chief=True, checkpoint_dir=logdir) as session:
300 is_chief=True, checkpoint_dir=logdir) as session:
309 is_chief=True,
317 is_chief=True, checkpoint_dir=logdir) as session:
326 is_chief=True,
336 is_chief=True, checkpoint_dir=logdir) as session:
385 is_chief=True,
403 is_chief=True,
424 is_chief=True,
436 is_chief=True, checkpoint_dir=logdir) as session:
[all …]
Dsupervisor.py209 is_chief=True, argument
321 self._is_chief = is_chief
499 def is_chief(self): member in Supervisor
Dmonitored_session.py334 if chief_only_hooks and worker_context.is_chief:
430 is_chief=True, argument
555 if not is_chief:
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-supervisor.pbtxt26 name: "is_chief"
107 …argspec: "args=[\'self\', \'graph\', \'ready_op\', \'ready_for_local_init_op\', \'is_chief\', \'in…
Dtensorflow.train.-sync-replicas-optimizer.pbtxt53 …argspec: "args=[\'self\', \'is_chief\', \'num_tokens\'], varargs=None, keywords=None, defaults=[\'…
Dtensorflow.estimator.tpu.-run-config.pbtxt39 name: "is_chief"
Dtensorflow.estimator.-run-config.pbtxt34 name: "is_chief"
Dtensorflow.train.pbtxt257 …argspec: "args=[\'master\', \'is_chief\', \'checkpoint_dir\', \'scaffold\', \'hooks\', \'chief_onl…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-run-config.pbtxt34 name: "is_chief"
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistribute_coordinator_utils.py262 def is_chief(self): member in _WorkerContext
641 if context.is_chief:
Ddistributed_training_utils_v1.py1084 return dc.get_current_worker_context().is_chief
/external/tensorflow/tensorflow/python/distribute/failure_handling/
Dfailure_handler_test.py65 multi_worker_util.is_chief(
Dfailure_handling.py437 self._is_chief = multi_worker_util.is_chief(
Dgce_failure_handler_test.py66 multi_worker_util.is_chief(

12