Home
last modified time | relevance | path

Searched refs:task_fn (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_test_base.py475 def _task_thread(self, task_fn, tf_config, executing_eagerly, *args, argument
483 task_fn(*args, **kwargs)
486 task_fn(*args, **kwargs)
488 def _run_task_in_thread(self, task_fn, cluster_spec, task_type, task_id, argument
525 args=(task_fn, tf_config, context.executing_eagerly()) + args,
530 def run_multiple_tasks_in_threads(self, task_fn, cluster_spec, *args, argument
537 t = self._run_task_in_thread(task_fn, cluster_spec, task_type, task_id,
/external/ltp/testcases/kernel/sched/eas/
Deas_one_small_task.c28 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
103 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_one_big_task.c30 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
120 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_small_to_big.c31 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_two_big_three_small.c28 static void *task_fn(void *arg) in task_fn() function
126 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, &task_tids[i]); in run()
Deas_big_to_small.c30 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Dsched_cfs_prio.c36 static void *task_fn(void *arg) in task_fn() function
191 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, in run()
Deas_small_big_toggle.c32 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
213 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
/external/tensorflow/tensorflow/python/keras/distribute/
Dmulti_worker_fault_tolerance_test.py162 task_fn=_independent_worker_fn,