Searched refs:_num_workers (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/distribute/ |
D | collective_all_reduce_strategy.py | 195 "num_workers").set(self.extended._num_workers) 294 "num_workers").set(self.extended._num_workers) 343 self._num_workers = 1 381 group_size=self._num_workers, 422 self._num_workers = multi_worker_util.worker_count(cluster_spec, task_type) 423 if not self._num_workers: 491 group_size=len(local_devices) * self._num_workers, 496 group_size=self._num_workers, 517 self._num_workers, local_devices, 549 group_size = self._num_workers [all …]
|
D | parameter_server_strategy_v2.py | 454 self._num_workers = len(cluster_spec.as_dict().get("worker", ())) 459 for i in range(self._num_workers): 481 "ps_strategy_num_workers").set(self._num_workers)
|
D | distribute_coordinator.py | 145 self._num_workers = _get_num_workers(cluster_spec) 308 return self._num_workers
|
D | collective_all_reduce_strategy_test.py | 570 strategy.extended._num_workers, results[1].numpy())
|
/external/tensorflow/tensorflow/python/data/experimental/service/ |
D | server_lib_test.py | 158 self.assertEqual(0, dispatcher._num_workers()) 161 self.assertEqual(1, dispatcher._num_workers()) 164 self.assertEqual(2, dispatcher._num_workers())
|
D | server_lib.py | 212 def _num_workers(self): member in DispatchServer
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | data_service_test_base.py | 154 return self.dispatcher._num_workers()
|
/external/tensorflow/tensorflow/python/distribute/coordinator/ |
D | cluster_coordinator.py | 870 self._num_workers = strategy._num_workers 893 "/job:worker/replica:0/task:%d" % i for i in range(self._num_workers)
|