Home
last modified time | relevance | path

Searched refs:remote_workers (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc172 std::vector<string> remote_workers; in CreateContext() local
173 worker_session->worker_cache()->ListWorkers(&remote_workers); in CreateContext()
174 remote_workers.erase(std::remove(remote_workers.begin(), remote_workers.end(), in CreateContext()
176 remote_workers.end()); in CreateContext()
188 remote_workers, request->context_id(), request->context_view_id(), in CreateContext()
271 std::vector<string> remote_workers; in UpdateContext() local
272 worker_session->worker_cache()->ListWorkers(&remote_workers); in UpdateContext()
273 remote_workers.erase(std::remove(remote_workers.begin(), remote_workers.end(), in UpdateContext()
275 remote_workers.end()); in UpdateContext()
279 for (const string& rw : remote_workers) { in UpdateContext()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc150 const std::vector<string>& remote_workers, in GetAllRemoteDevices() argument
154 TF_RETURN_IF_ERROR(AddRemoteDevicesToMgr(remote_workers, worker_cache, in GetAllRemoteDevices()
181 std::vector<string>* remote_workers) { in ListRemoteWorkers() argument
188 grpc_server->master_env()->worker_cache->ListWorkers(remote_workers); in ListRemoteWorkers()
189 remote_workers->erase( in ListRemoteWorkers()
190 std::remove(remote_workers->begin(), remote_workers->end(), local_worker), in ListRemoteWorkers()
191 remote_workers->end()); in ListRemoteWorkers()
269 TFE_Context* ctx, const std::vector<string>& remote_workers, in CreateRemoteContexts() argument
275 int num_remote_workers = remote_workers.size(); in CreateRemoteContexts()
279 const string& remote_worker = remote_workers[i]; in CreateRemoteContexts()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc546 const std::vector<string>& remote_workers) { in RegisterExistingFunctionsOnRemoteWorkers() argument
550 for (int i = 0; i < remote_workers.size(); i++) { in RegisterExistingFunctionsOnRemoteWorkers()
553 remote_eager_workers_->GetClient(remote_workers[i], &eager_client); in RegisterExistingFunctionsOnRemoteWorkers()
Dcontext.h428 const std::vector<string>& remote_workers);