Home
last modified time | relevance | path

Searched refs:task_index (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/python/training/
Dserver_lib.py30 def _make_server_def(server_or_cluster_def, job_name, task_index, protocol, argument
63 if task_index is not None:
64 server_def.task_index = task_index
80 if task_index is None:
83 task_index = task_indices[0]
91 job_name=job_name, task_index=task_index, protocol=protocol)
113 task_index=None, argument
147 job_name, task_index, protocol, config)
409 def task_address(self, job_name, task_index): argument
428 return job[task_index]
[all …]
Dserver_lib_test.py201 task_index=0,
212 }, job_name="local", task_index=0)
348 cluster=cluster_def, job_name="local", task_index=0, protocol="grpc")
366 cluster=cluster_def, job_name="local", task_index=1, protocol="grpc")
386 cluster=cluster_def, job_name="worker", task_index=2, protocol="grpc")
412 cluster=cluster_def, job_name="worker", task_index=2, protocol="grpc")
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc1371 int task_index = 0; in TEST_P() local
1372 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
1373 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); in TEST_P()
1374 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); in TEST_P()
1375 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); in TEST_P()
1376 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); in TEST_P()
1377 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); in TEST_P()
1378 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); in TEST_P()
1403 int task_index = 0; in TEST_P() local
1404 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensorflow_server.cc42 int task_index, ServerDef* options) { in FillServerDef() argument
45 options->set_task_index(task_index); in FillServerDef()
76 if (options->task_index() >= my_num_tasks) { in FillServerDef()
77 return errors::InvalidArgument("Task index ", options->task_index(), in FillServerDef()
101 int task_index = 0; in main() local
105 tensorflow::Flag("task_id", &task_index, "task id"), in main()
117 task_index, &server_def); in main()
Dgrpc_testlib_server.cc39 int num_cpus, int num_gpus, int task_index, in FillServerDef() argument
43 options->set_task_index(task_index); in FillServerDef()
84 int task_index = 0; in main() local
88 tensorflow::Flag("tf_task", &task_index, "task index"), in main()
101 num_gpus, task_index, &def); in main()
Dgrpc_server_lib.cc128 auto iter = job.tasks().find(server_def_.task_index()); in Init()
130 return errors::InvalidArgument("Task ", server_def_.task_index(), in Init()
156 "/task:", server_def_.task_index()); in Init()
294 if (job.name() == *options.job_name && task.first == options.task_index) { in ParseChannelSpec()
323 "/task:", options.task_index); in WorkerCacheFactory()
/external/tensorflow/tensorflow/core/protobuf/
Dcluster.proto37 // cluster { $CLUSTER } job_name: 'local' task_index: 0
46 // cluster { $CLUSTER } job_name: 'local' task_index: 0
47 // cluster { $CLUSTER } job_name: 'local' task_index: 1
60 // cluster { $CLUSTER } job_name: 'worker' task_index: 0
61 // cluster { $CLUSTER } job_name: 'worker' task_index: 1
62 // cluster { $CLUSTER } job_name: 'worker' task_index: 2
63 // cluster { $CLUSTER } job_name: 'ps' task_index: 0
64 // cluster { $CLUSTER } job_name: 'ps' task_index: 1
/external/toolchain-utils/bestflags/
Dsteering_test.py81 task_index = 0
90 test_ranges = range(task_index, task_index + NUMBER_OF_TASKS)
100 task_index += NUMBER_OF_TASKS
/external/tensorflow/tensorflow/contrib/eager/python/
Dremote_test.py61 task_index): argument
74 task_index=task_index,
101 task_index=0))
176 task_index=0))
191 task_index=0))
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster_env.h40 int task_index; member
52 task_index = server_def.task_index(); in WorkerCacheFactoryOptions()
/external/tensorflow/tensorflow/contrib/opt/python/training/
Delastic_average_optimizer.py351 def get_init_op(self, task_index): argument
369 if i == task_index:
374 sync_queues[task_index].dequeue_many(len(sync_queues) - 1))
396 def make_session_run_hook(self, is_chief, task_index): argument
398 return _ElasticAverageOptimizerHook(self, is_chief, task_index)
448 def __init__(self, ea_optimizer, is_chief, task_index): argument
457 self._task_index = task_index
Dagn_optimizer.py215 def get_init_op(self, task_index): argument
234 def make_session_run_hook(self, is_chief, task_index): argument
236 return _AGNOptimizerHook(self, is_chief, task_index)
241 def __init__(self, agn_optimizer, is_chief, task_index): argument
251 self._task_index = task_index
Dmodel_average_optimizer_test.py47 cs, job_name="worker", protocol=protocol, task_index=ix, start=True)
52 cs, job_name="ps", protocol=protocol, task_index=ix, start=True)
Dagn_optimizer_test.py50 cs, job_name="worker", protocol=protocol, task_index=ix, start=True)
55 cs, job_name="ps", protocol=protocol, task_index=ix, start=True)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drun_config.py217 task_index = task_env.get('index')
218 return int(task_index) if task_index else 0
/external/tensorflow/tensorflow/contrib/distribute/python/
Dmulti_worker_test_base.py99 task_index=i,
108 task_index=i,
117 task_index=0,
126 task_index=0,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-server-def.pbtxt19 name: "task_index"
Dtensorflow.train.-server.pbtxt15 …argspec: "args=[\'self\', \'server_or_cluster_def\', \'job_name\', \'task_index\', \'protocol\', \…
Dtensorflow.distribute.-server.pbtxt15 …argspec: "args=[\'self\', \'server_or_cluster_def\', \'job_name\', \'task_index\', \'protocol\', \…
Dtensorflow.train.-cluster-spec.pbtxt31 …argspec: "args=[\'self\', \'job_name\', \'task_index\'], varargs=None, keywords=None, defaults=Non…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-server-def.pbtxt19 name: "task_index"
Dtensorflow.distribute.-server.pbtxt15 …argspec: "args=[\'self\', \'server_or_cluster_def\', \'job_name\', \'task_index\', \'protocol\', \…
Dtensorflow.train.-cluster-spec.pbtxt31 …argspec: "args=[\'self\', \'job_name\', \'task_index\'], varargs=None, keywords=None, defaults=Non…
/external/tensorflow/tensorflow/python/eager/
Dremote.py75 task_index=0,
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_tensorflow_server.py106 server_def.task_index = FLAGS.task_id

12