tensorflow/c/kernels/summary_op_test.cc
// Helper for comparing output and expected output
Helper for comparing output and expected output
Helper for comparing output and expected output
void ExpectSummaryMatches(const Summary& actual, const string& expected_str) {
  Summary expected;
  ASSERT_TRUE(protobuf::TextFormat::ParseFromString(expected_str, &expected));
  EXPECT_EQ(expected.DebugString(), actual.DebugString());
}
void ExpectSummaryMatches ( const Summary & actual , const string & expected_str ) { Summary expected ; ASSERT_TRUE ( protobuf :: TextFormat :: ParseFromString ( expected_str , & expected ) ) ; EXPECT_EQ ( expected . DebugString ( ) , actual . DebugString ( ) ) ; }
Helper for comparing output and expected output
Helper for comparing output and expected output