MCPcopy Create free account
hub / github.com/OAID/Tengine / MergeAttr

Method MergeAttr

core/lib/node.cpp:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void Node::MergeAttr(Node* orig)
122{
123 auto ir = orig->dict_map_.begin();
124 const auto end = orig->dict_map_.end();
125
126 while(ir != end)
127 {
128 dict_map_[ir->first].swap(orig->dict_map_[ir->first]);
129 ir++;
130 }
131}
132
133/* code for attr get/set/add */
134

Callers 4

GraphFuseBNScaleFunction · 0.80
GraphFuseRelu6Function · 0.80
GraphFuseConvBNFunction · 0.80
GraphFuseConvReLuCommonFunction · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.80
swapMethod · 0.45

Tested by

no test coverage detected