| 70 | } |
| 71 | |
| 72 | bool HasFanouts(const GraphView& graph_view, const NodeDef* node, int port) { |
| 73 | const auto output = GraphView::OutputPort(node, port); |
| 74 | return !graph_view.GetFanout(output).empty(); |
| 75 | } |
| 76 | |
| 77 | bool HasControlFanin(const GraphView& graph_view, const NodeDef* node) { |
| 78 | const auto control_port = GraphView::InputPort(node, Graph::kControlSlot); |
nothing calls this directly
no test coverage detected