| 38 | namespace { |
| 39 | |
| 40 | static void InitGraph(const std::string& s, Graph* graph) { |
| 41 | GraphDef graph_def; |
| 42 | |
| 43 | auto parser = protobuf::TextFormat::Parser(); |
| 44 | // parser.AllowRelaxedWhitespace(true); |
| 45 | CHECK(parser.MergeFromString(s, &graph_def)) << s; |
| 46 | GraphConstructorOptions opts; |
| 47 | TF_CHECK_OK(ConvertGraphDefToGraph(opts, graph_def, graph)); |
| 48 | } |
| 49 | |
| 50 | class OptimizerFusionTest : public ::testing::Test { |
| 51 | public: |
no test coverage detected