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

Method in_nodes

tensorflow/compiler/tf2tensorrt/segment/segment.cc:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 const std::vector<SimpleEdge*>& out_edges() const { return out_edges_; }
107
108 std::vector<SimpleNode*> in_nodes() const {
109 std::vector<SimpleNode*> res;
110 res.reserve(in_edges_.size());
111 for (const auto e : in_edges_) {
112 if (e) res.push_back(e->src());
113 }
114 return res;
115 }
116
117 std::vector<SimpleNode*> out_nodes() const {
118 std::vector<SimpleNode*> res;

Callers 4

StableDFSFunction · 0.45
CanContractEdgeFunction · 0.45
SegmentGraphFunction · 0.45

Calls 4

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45
srcMethod · 0.45

Tested by

no test coverage detected