Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/training/
Dserver_lib.py31 def _make_server_def(server_or_cluster_def, job_name, task_index, protocol, argument
62 if task_index is not None:
63 server_def.task_index = task_index
79 if task_index is None:
82 task_index = task_indices[0]
91 task_index=task_index,
114 task_index=None, argument
147 task_index, protocol, config)
418 def task_address(self, job_name, task_index): argument
437 return job[task_index]
[all …]
Dserver_lib_test.py200 task_index=0,
268 }, job_name="local", task_index=0)
400 cluster=cluster_def, job_name="local", task_index=0, protocol="grpc")
418 cluster=cluster_def, job_name="local", task_index=1, protocol="grpc")
438 cluster=cluster_def, job_name="worker", task_index=2, protocol="grpc")
464 cluster=cluster_def, job_name="worker", task_index=2, protocol="grpc")
/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.cc135 auto iter = job.tasks().find(server_def.task_index()); in GetHostAndPort()
137 return errors::Internal("Task ", server_def.task_index(), in GetHostAndPort()
188 "/task:", server_def_.task_index()); in Init()
348 if (job.name() == *options.job_name && task.first == options.task_index) { in ParseChannelSpec()
377 "/task:", options.task_index); in WorkerCacheFactory()
/external/tensorflow/tensorflow/core/protobuf/
Dcluster.proto38 // cluster { $CLUSTER } job_name: 'local' task_index: 0
47 // cluster { $CLUSTER } job_name: 'local' task_index: 0
48 // cluster { $CLUSTER } job_name: 'local' task_index: 1
61 // cluster { $CLUSTER } job_name: 'worker' task_index: 0
62 // cluster { $CLUSTER } job_name: 'worker' task_index: 1
63 // cluster { $CLUSTER } job_name: 'worker' task_index: 2
64 // cluster { $CLUSTER } job_name: 'ps' task_index: 0
65 // cluster { $CLUSTER } job_name: 'ps' task_index: 1
/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/libchrome/base/task_scheduler/
Dtest_task_factory.cc50 void TestTaskFactory::RunTaskCallback(size_t task_index, in RunTaskCallback() argument
82 DCHECK_LE(task_index, num_posted_tasks_); in RunTaskCallback()
86 task_index != ran_tasks_.size()) { in RunTaskCallback()
93 if (ran_tasks_.find(task_index) != ran_tasks_.end()) in RunTaskCallback()
95 ran_tasks_.insert(task_index); in RunTaskCallback()
Dtest_task_factory.h66 void RunTaskCallback(size_t task_index,
/external/tensorflow/tensorflow/python/keras/benchmarks/
Ddistribution_util.py141 def configure_cluster(worker_hosts=None, task_index=-1): argument
158 if num_workers > 1 and task_index < 0:
160 task_index = 0 if num_workers == 1 else task_index
167 "index": task_index
/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/core/distributed_runtime/
Dmaster_env.h40 int task_index; member
52 task_index = server_def.task_index(); in WorkerCacheFactoryOptions()
/external/tensorflow/tensorflow/python/eager/
Dremote_execution_test.py47 task_index): argument
60 task_index=task_index,
86 task_index=0))
187 task_index=0))
202 task_index=0))
Dremote.py83 task_index=0, argument
175 task_index=task_index,
Dremote_cluster_test.py47 task_index): argument
60 task_index=task_index,
84 task_index=0)
91 task_index=0)
98 task_index=0)
105 task_index=0)
113 task_index=0)
121 task_index=0)
140 task_index=0))
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dinference_context.cc72 void AddUsage(ValueId id, int task_index, in AddUsage() argument
77 (*usage_records)[id].x = task_index; in AddUsage()
78 (*usage_records)[id].y = task_index; in AddUsage()
81 (*usage_records)[id].y = task_index; in AddUsage()
661 for (auto& task_index : task_ids_with_preallocated_tensors_) { in UpdatePreallocatedTensors() local
662 auto& task = nodes_[task_index].task; in UpdatePreallocatedTensors()
663 const auto& src_ids = nodes_[task_index].inputs; in UpdatePreallocatedTensors()
670 const auto& dst_ids = nodes_[task_index].outputs; in UpdatePreallocatedTensors()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.experimental.-cluster-device-filters.pbtxt11 …argspec: "args=[\'self\', \'job_name\', \'task_index\', \'device_filters\'], varargs=None, keyword…
Dtensorflow.train.-server-def.pbtxt19 name: "task_index"
Dtensorflow.distribute.-server.pbtxt15 …argspec: "args=[\'self\', \'server_or_cluster_def\', \'job_name\', \'task_index\', \'protocol\', \…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.experimental.-cluster-device-filters.pbtxt11 …argspec: "args=[\'self\', \'job_name\', \'task_index\', \'device_filters\'], varargs=None, keyword…
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\', \…
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dutils.py40 task_index=cluster_resolver.task_id,
/external/tensorflow/tensorflow/python/distribute/
Dmulti_worker_test_base.py122 task_index=i,
131 task_index=i,
140 task_index=0,
149 task_index=0,
255 task_index=task_id,

12