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

Function EXPECT_SummaryMatches

tensorflow/core/kernels/summary_op_test.cc:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39namespace {
40
41static void EXPECT_SummaryMatches(const Summary& actual,
42 const string& expected_str) {
43 Summary expected;
44 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected));
45 EXPECT_EQ(expected.DebugString(), actual.DebugString());
46}
47
48class SummaryScalarOpTest : public OpsTestBase {
49 protected:

Callers 1

TEST_FFunction · 0.70

Calls 1

DebugStringMethod · 0.45

Tested by

no test coverage detected