Home
last modified time | relevance | path

Searched refs:_is_chief (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/keras/integration_test/
Dmulti_worker_tutorial_test.py36 def _is_chief(task_type, task_id): function
57 if not _is_chief(task_type, task_id):
170 if not _is_chief(task_type, task_id):
178 if tf.io.gfile.exists(write_model_path) != _is_chief(task_type, task_id):
191 if not _is_chief(task_type, task_id):
199 if tf.io.gfile.exists(write_checkpoint_dir) != _is_chief(
323 if not _is_chief(task_type, task_id):
/external/tensorflow/tensorflow/python/training/
Dsupervisor.py325 self._is_chief = is_chief
341 if self._is_chief:
509 return self._is_chief
628 assert self._is_chief
661 if not self._is_chief:
724 if self._is_chief:
928 if not self._is_chief:
Dsync_replicas_optimizer.py466 self._is_chief = is_chief
474 if self._is_chief:
Dmonitored_session_test.py539 strategy.extended._is_chief = False
/external/tensorflow/tensorflow/python/distribute/
Dparameter_server_strategy.py267 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
278 num_ps_replicas, self._is_chief, self._compute_devices,
315 self._is_chief = True
679 return self._is_chief
683 return self._is_chief
687 return self._is_chief
Dcollective_all_reduce_strategy.py342 self._is_chief = True
427 self._is_chief = multi_worker_util.is_chief(cluster_spec, task_type,
564 if self._is_chief:
908 return self._is_chief
912 return self._is_chief
Ddistribute_coordinator.py146 self._is_chief_node = self._is_chief()
194 def _is_chief(self): member in _WorkerContext
Destimator_training.py100 config._is_chief = worker_context.is_chief