MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreateWorkerSessionAsync

Method CreateWorkerSessionAsync

tensorflow/core/distributed_runtime/worker.cc:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void Worker::CreateWorkerSessionAsync(const CreateWorkerSessionRequest* request,
59 CreateWorkerSessionResponse* response,
60 StatusCallback done) {
61 Status s = env_->session_mgr->CreateSession(
62 request->session_handle(), request->server_def(),
63 request->cluster_device_attributes(), request->isolate_session_state());
64 done(s);
65}
66
67void Worker::DeleteWorkerSessionAsync(CallOptions* opts,
68 const DeleteWorkerSessionRequest* request,

Callers 1

CreateWorkerSessionsMethod · 0.45

Calls 3

session_handleMethod · 0.80
server_defMethod · 0.80
CreateSessionMethod · 0.45

Tested by

no test coverage detected