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

Method Create

tensorflow/contrib/gdr/gdr_server_lib.cc:116–123  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

114
115/* static */
116Status GdrServer::Create(const ServerDef& server_def, Env* env,
117 std::unique_ptr<ServerInterface>* out_server) {
118 std::unique_ptr<GdrServer> ret(
119 new GdrServer(server_def, env == nullptr ? Env::Default() : env));
120 TF_RETURN_IF_ERROR(ret->Init());
121 *out_server = std::move(ret);
122 return Status::OK();
123}
124
125namespace {
126

Callers

nothing calls this directly

Calls 2

DefaultFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected