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

Method ExpectOK

tensorflow/c/while_loop_test.cc:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 void ExpectOK() {
62 TF_FinishWhile(params_.get(), s_, &outputs_[0]);
63 EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
64 }
65
66 void ExpectError(TF_Code expected_code, const string& expected_msg) {
67 TF_FinishWhile(params_.get(), s_, &outputs_[0]);

Callers

nothing calls this directly

Calls 4

TF_FinishWhileFunction · 0.85
TF_GetCodeFunction · 0.85
TF_MessageFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected