| 64 | } |
| 65 | |
| 66 | bool HasSingleFanoutNode(const GraphView& graph_view, const NodeDef* node, |
| 67 | int port) { |
| 68 | const auto output = GraphView::OutputPort(node, port); |
| 69 | return graph_view.GetFanout(output).size() <= 1; |
| 70 | } |
| 71 | |
| 72 | bool HasFanouts(const GraphView& graph_view, const NodeDef* node, int port) { |
| 73 | const auto output = GraphView::OutputPort(node, port); |
nothing calls this directly
no test coverage detected