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

Function ExpectSuccess

tensorflow/core/framework/node_def_util_test.cc:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void ExpectSuccess(const NodeDef& good, const OpDef& op_def) {
53 EXPECT_EQ(Status::OK(), ValidateNodeDef(good, op_def))
54 << "NodeDef: " << SummarizeNodeDef(good)
55 << "; OpDef: " << SummarizeOpDef(op_def);
56}
57
58void ExpectFailure(const NodeDef& bad, const OpDef& op_def,
59 const string& message) {

Callers 5

TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 3

ValidateNodeDefFunction · 0.85
SummarizeNodeDefFunction · 0.85
SummarizeOpDefFunction · 0.85

Tested by

no test coverage detected