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

Method Create

tensorflow/contrib/star_server/star_server_lib.cc:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22Status StarServer::Create(const ServerDef& server_def, Env* env,
23 std::unique_ptr<ServerInterface>* out_server) {
24 std::unique_ptr<StarServer> ret(
25 new StarServer(
26 server_def, env == nullptr ? Env::Default() : env));
27
28 TF_RETURN_IF_ERROR(ret->Init());
29 *out_server = std::move(ret);
30 return Status::OK();
31}
32
33RendezvousMgrInterface* StarServer::CreateRendezvousMgr(WorkerEnv* env) {
34 return new TLSRendezvousMgr(env);

Callers

nothing calls this directly

Calls 2

DefaultFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected