| 80 | } |
| 81 | |
| 82 | bool HasControlFanout(const GraphView& graph_view, const NodeDef* node) { |
| 83 | const auto control_port = GraphView::OutputPort(node, Graph::kControlSlot); |
| 84 | return !graph_view.GetFanout(control_port).empty(); |
| 85 | } |
| 86 | |
| 87 | bool HasControlFaninOrFanout(const GraphView& graph_view, const NodeDef* node) { |
| 88 | return HasControlFanin(graph_view, node) || |
no test coverage detected