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

Function TEST_F

tensorflow/core/framework/rendezvous_test.cc:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119TEST_F(LocalRendezvousTest, SendRecv) {
120 Rendezvous::Args args;
121 TF_ASSERT_OK(rendez_->Send(KeyFoo(), args, V("hello"), false));
122 Tensor val(DT_STRING);
123 bool is_dead = false;
124 TF_ASSERT_OK(rendez_->Recv(KeyFoo(), args, &val, &is_dead));
125 EXPECT_EQ("hello", V(val));
126}
127
128TEST_F(LocalRendezvousTest, RecvSend) {
129 SchedClosure([this]() {

Callers

nothing calls this directly

Calls 15

SchedClosureFunction · 0.85
DefaultFunction · 0.85
RandomSeedFunction · 0.85
RandomSleepFunction · 0.85
UniformMethod · 0.80
VFunction · 0.70
MakeKeyFunction · 0.70
ArgsClass · 0.70
StrCatFunction · 0.50
SendMethod · 0.45
RecvMethod · 0.45
SleepForMicrosecondsMethod · 0.45

Tested by

no test coverage detected