| 76 | } |
| 77 | |
| 78 | static void PrintGCEdges(Nodes *nodes, tensorflow::GraphCycles *gc) { |
| 79 | LOG(INFO) << "GC EDGES"; |
| 80 | for (int i = 0; i != nodes->size(); i++) { |
| 81 | for (int j = 0; j != nodes->size(); j++) { |
| 82 | int a = (*nodes)[i]; |
| 83 | int b = (*nodes)[j]; |
| 84 | if (gc->HasEdge(a, b)) { |
| 85 | LOG(INFO) << a << " " << b; |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 | LOG(INFO) << "---"; |
| 90 | } |
| 91 | |
| 92 | static void PrintTransitiveClosure(Nodes *nodes, Edges *edges, |
| 93 | tensorflow::GraphCycles *gc) { |
no test coverage detected