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

Method MakeTestCluster

tensorflow/core/distributed_runtime/rpc/grpc_testlib.cc:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace test {
25
26Status TestCluster::MakeTestCluster(const SessionOptions& options, int n,
27 std::unique_ptr<TestCluster>* out_cluster) {
28 string server_path =
29 strings::StrCat(testing::TensorFlowSrcRoot(),
30 "/core/distributed_runtime/rpc/grpc_testlib_server");
31 return MakeTestCluster(server_path, options, n, out_cluster);
32}
33
34Status TestCluster::MakeTestCluster(const string& binary_path,
35 const SessionOptions& options, int n,

Callers

nothing calls this directly

Calls 15

InternalFunction · 0.85
StrCatFunction · 0.50
TensorFlowSrcRootFunction · 0.50
PickUnusedPortOrDieFunction · 0.50
CreateSubProcessFunction · 0.50
CreateFunction · 0.50
resizeMethod · 0.45
findMethod · 0.45
device_countMethod · 0.45
endMethod · 0.45
okMethod · 0.45
FileExistsMethod · 0.45

Tested by

no test coverage detected