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

Method GraphView

tensorflow/core/grappler/graph_view.h:403–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401 : public internal::GraphViewInternal<const GraphDef, const NodeDef> {
402 public:
403 explicit GraphView(const GraphDef* graph) : GraphViewInternal(graph) {
404 for (const NodeDef& node : graph->node()) AddUniqueNodeOrDie(&node);
405 for (const NodeDef& node : graph->node()) AddFanouts(&node);
406 }
407};
408
409// Returns true if node has one (or zero) fanout nodes at given output port.

Callers

nothing calls this directly

Calls 1

nodeMethod · 0.45

Tested by

no test coverage detected