Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_util_test.py89 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "chief", 0))
90 self.assertFalse(multi_worker_util.is_chief(cluster_spec, "worker", 0))
94 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "worker", 0))
95 self.assertFalse(multi_worker_util.is_chief(cluster_spec, "worker", 1))
99 multi_worker_util.is_chief(cluster_spec, "chief", 0)
103 multi_worker_util.is_chief(cluster_spec, "worker", 2)
111 self.assertTrue(multi_worker_util.is_chief(cluster_spec, "evaluator", 0))
Dmulti_worker_util.py112 def is_chief(cluster_spec=None, task_type=None, task_id=None): function
137 return dc_context.get_current_worker_context().is_chief
Destimator_training.py100 config._is_chief = worker_context.is_chief
240 dc.CoordinatorMode.INDEPENDENT_WORKER or context.is_chief):
329 if context.is_chief:
378 if context.is_chief:
Ddistribute_coordinator.py301 def is_chief(self): member in _WorkerContext
865 if context.is_chief:
Ddistribute_coordinator_test.py299 if context.is_chief:
383 context.is_chief,
Dparameter_server_strategy.py267 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
Dcollective_all_reduce_strategy.py427 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
Dmulti_worker_test_base.py859 def is_chief(): function
Dparameter_server_strategy_test.py499 multi_worker_util.is_chief(
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py350 sv = supervisor.Supervisor(is_chief=True, logdir=logdir, summary_op=None)
397 sv = supervisor.Supervisor(is_chief=False)
406 sv = supervisor.Supervisor(is_chief=False)
555 def get_session(is_chief): argument
571 is_chief=is_chief,
613 def get_session(is_chief): argument
629 is_chief=is_chief,
688 sv = supervisor.Supervisor(logdir=logdir, init_op=None, is_chief=False)
727 supervisor.Supervisor(logdir=logdir, is_chief=False)
730 supervisor.Supervisor(logdir=logdir, is_chief=False)
[all …]
Dsync_replicas_optimizer.py449 def make_session_run_hook(self, is_chief, num_tokens=-1): argument
451 return _SyncReplicasOptimizerHook(self, is_chief, num_tokens)
457 def __init__(self, sync_optimizer, is_chief, num_tokens): argument
466 self._is_chief = is_chief
Dsync_replicas_optimizer_test.py41 is_chief = (worker_id == 0)
72 is_chief, num_tokens=num_workers)
77 is_chief=is_chief,
Dmonitored_session_test.py296 is_chief=True, checkpoint_dir=logdir) as session:
302 is_chief=True, checkpoint_dir=logdir) as session:
311 is_chief=True,
319 is_chief=True, checkpoint_dir=logdir) as session:
328 is_chief=True,
338 is_chief=True, checkpoint_dir=logdir) as session:
348 is_chief=True,
366 is_chief=True,
387 is_chief=True,
399 is_chief=True, checkpoint_dir=logdir) as session:
[all …]
Dsupervisor.py213 is_chief=True, argument
325 self._is_chief = is_chief
503 def is_chief(self): member in Supervisor
Dmonitored_session.py340 if chief_only_hooks and worker_context.is_chief:
436 is_chief=True, argument
550 if not is_chief:
/external/tensorflow/tensorflow/python/keras/distribute/
Dmulti_worker_callback_tf2_test.py130 checkpoint_exists(saving_filepath), test_base.is_chief())
140 test_base.is_chief())
271 test_base.is_chief())
Ddistributed_training_utils_v1.py1094 return dc_context.get_current_worker_context().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.-run-config.pbtxt34 name: "is_chief"
Dtensorflow.estimator.tpu.-run-config.pbtxt39 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"