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

Function TEST_F

tensorflow/core/distributed_runtime/master_test.cc:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139TEST_F(MasterTest, CreateClose) {
140 GraphDef def; // Empty.
141 string handle;
142 int64 initial_version;
143 TF_ASSERT_OK(CreateSession(def, &handle, &initial_version));
144 EXPECT_TRUE(errors::IsAborted(CloseSession("randombits")));
145 EXPECT_TRUE(CloseSession(handle).ok());
146}
147
148TEST_F(MasterTest, ListDevices) {
149 ::grpc::ClientContext ctx;

Callers

nothing calls this directly

Calls 15

FromGrpcStatusFunction · 0.85
ExtendSessionFunction · 0.85
DefaultFunction · 0.85
HasBeenNotifiedMethod · 0.80
nameMethod · 0.65
CreateSessionFunction · 0.50
ResetFunction · 0.50
TensorShapeClass · 0.50
ConstantFunction · 0.50
ToGraphDefFunction · 0.50
VarFunction · 0.50
MatmulFunction · 0.50

Tested by

no test coverage detected