Home
last modified time | relevance | path

Searched refs:worker_fn (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dremote_cluster_test.py211 def worker_fn(i): function
215 worker_fn.get_concrete_function(x1)
219 y = worker_fn(x1)
225 y = worker_fn(x2)
233 def worker_fn(i): function
240 worker_fn.get_concrete_function(x1)
245 y = worker_fn(x1)
251 y = worker_fn(x1)
264 def worker_fn(i): function
268 worker_fn.get_concrete_function(x1)
[all …]
Dremote_test.py549 def worker_fn(): function
555 self.assertAllEqual(worker_fn(), 9)
558 self.assertAllEqual(worker_fn(), 8)
620 def worker_fn(): function
626 self.assertAllEqual(worker_fn(), 9)
629 self.assertAllEqual(worker_fn(), 8)
646 def worker_fn(): function
652 self.assertAllEqual(worker_fn(), 9)
654 self.assertAllEqual(worker_fn(), 8)
660 worker_fn().numpy()
[all …]
/external/tensorflow/tensorflow/python/distribute/integration_test/
Dmwms_peer_failure_test.py79 def worker_fn(): function
90 mpr = multi_process_runner.MultiProcessRunner(worker_fn, cluster_spec)
113 def worker_fn(): function
123 mpr = multi_process_runner.MultiProcessRunner(worker_fn, cluster_spec)
138 def worker_fn(attempts): function
152 worker_fn, cluster_spec, args=(attempts,), auto_restart=True)
160 def worker_fn(attempts): function
173 worker_fn, cluster_spec, args=(attempts,), auto_restart=True)
186 def worker_fn(attempts): function
212 worker_fn, cluster_spec, args=(attempts,), auto_restart=True)
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_coordinator.py326 def _run_single_worker(worker_fn, argument
358 return worker_fn(strategy)
360 return worker_fn(strategy)
454 def _run_between_graph_client(worker_fn, strategy, eval_fn, eval_strategy, argument
476 args=(worker_fn, strategy, cluster_spec, task_type, task_id,
497 def _run_in_graph_client(worker_fn, strategy, eval_fn, eval_strategy, argument
514 worker_fn,
631 def run_distribute_coordinator(worker_fn, argument
788 _run_single_worker(worker_fn, strategy, None, None, None, session_config,
799 eval_fn = eval_fn or worker_fn
[all …]
Dmulti_worker_continuous_run_test.py92 def worker_fn(): function
101 worker_fn,
125 def worker_fn(): function
134 worker_fn,
Ddistribute_coordinator_test.py243 def _wrapped_worker_fn(self, worker_fn): argument
246 return worker_fn(*args, **kwargs)
249 def _run_coordinator_in_thread(self, worker_fn, strategy, **kwargs): argument
252 args=(self._wrapped_worker_fn(worker_fn), strategy),
257 def _run_multiple_coordinator_in_threads(self, worker_fn, strategy, argument
264 worker_fn,
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dcluster_coordinator_test.py486 def worker_fn(iterator): function
493 worker_fn, args=(iter(distributed_dataset),))
497 worker_fn, args=(iter(distributed_dataset),))
514 def worker_fn(iterator): function
527 self.coordinator.schedule(worker_fn, args=(iterator,))
534 self.coordinator.schedule(worker_fn, args=(iterator,))
558 def worker_fn(iterator): function
563 worker_fn, args=(iter(distributed_dataset),))
624 def worker_fn(var): function
630 self.coordinator.schedule(worker_fn, args=(worker_local_var,))
[all …]
Dfault_tolerance_test.py452 def worker_fn(): function
455 remote_value = self.cluster_coord.schedule(worker_fn)
/external/tensorflow/tensorflow/python/kernel_tests/
Dcollective_ops_multi_worker_test.py71 def worker_fn(): function
89 mpr = multi_process_runner.MultiProcessRunner(worker_fn, cluster_spec)
95 def worker_fn(): function
101 mpr = multi_process_runner.MultiProcessRunner(worker_fn, cluster_spec)
109 def worker_fn(): function
141 worker_fn, cluster_spec, auto_restart=True)
147 def worker_fn(): function
153 mpr = multi_process_runner.MultiProcessRunner(worker_fn, cluster_spec)
/external/tensorflow/tensorflow/python/keras/distribute/
Dparameter_server_training_test.py176 def worker_fn(iterator): function
199 self.coordinator.schedule(worker_fn, args=(distributed_iterator,))