Searched defs:task_index (Results 1 - 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/distributed_runtime/ |
H A D | master_env.h | 39 int task_index; member in struct:tensorflow::WorkerCacheFactoryOptions 51 task_index = server_def.task_index();
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
H A D | grpc_tensorflow_server.cc | 42 int task_index, ServerDef* options) { 45 options->set_task_index(task_index); 76 if (options->task_index() >= my_num_tasks) { 77 return errors::InvalidArgument("Task index ", options->task_index(), 101 int task_index = 0; local 105 tensorflow::Flag("task_id", &task_index, "task id"), 117 task_index, &server_def); 41 FillServerDef(const string& cluster_spec, const string& job_name, int task_index, ServerDef* options) argument
|
H A D | grpc_testlib_server.cc | 39 int num_cpus, int num_gpus, int task_index, 43 options->set_task_index(task_index); 84 int task_index = 0; local 88 tensorflow::Flag("tf_task", &task_index, "task index"), 101 num_gpus, task_index, &def); 38 FillServerDef(const string& job_spec, const string& job_name, int num_cpus, int num_gpus, int task_index, ServerDef* options) argument
|
/external/libchrome/base/message_loop/ |
H A D | message_loop_test.cc | 758 int task_index = 0; local 759 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, true)); 760 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, true)); 761 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 2, false)); 762 EXPECT_EQ(order.Get(task_index++), TaskItem(RUNS, 1, false)); 763 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, true)); 764 EXPECT_EQ(order.Get(task_index++), TaskItem(ORDERED, 3, false)); 765 EXPECT_EQ(static_cast<size_t>(task_index), order.Size()); 790 int task_index = 0; local 791 EXPECT_EQ(order.Get(task_index 820 int task_index = 0; local 853 int task_index = 0; local 908 int task_index = 0; local 971 int task_index = 0; local 1003 int task_index = 0; local [all...] |
Completed in 158 milliseconds