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

Function NewServer

tensorflow/core/distributed_runtime/server_lib.cc:72–77  ·  view source on GitHub ↗

Creates a server based on the given `server_def`, and stores it in `*out_server`. Returns OK on success, otherwise returns an error.

Source from the content-addressed store, hash-verified

70// Creates a server based on the given `server_def`, and stores it in
71// `*out_server`. Returns OK on success, otherwise returns an error.
72Status NewServer(const ServerDef& server_def,
73 std::unique_ptr<ServerInterface>* out_server) {
74 ServerFactory* factory;
75 TF_RETURN_IF_ERROR(ServerFactory::GetFactory(server_def, &factory));
76 return factory->NewServer(server_def, out_server);
77}
78
79} // namespace tensorflow

Callers 8

MakeGRPCClusterFunction · 0.85
TESTFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
TF_NewServerFunction · 0.85
EnableCollectiveOpsFunction · 0.85
TEST_FFunction · 0.85

Calls 1

NewServerMethod · 0.45

Tested by 4

MakeGRPCClusterFunction · 0.68
TESTFunction · 0.68
mainFunction · 0.68
TEST_FFunction · 0.68