MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HasFanouts

Function HasFanouts

tensorflow/core/grappler/graph_view.cc:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool 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
77bool HasControlFanin(const GraphView& graph_view, const NodeDef* node) {
78 const auto control_port = GraphView::InputPort(node, Graph::kControlSlot);

Callers

nothing calls this directly

Calls 2

OutputPortClass · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected