MCPcopy Create free account
hub / github.com/ARM-software/armnn / SubstituteSubgraph

Method SubstituteSubgraph

src/armnn/Graph.cpp:475–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475void Graph::SubstituteSubgraph(SubgraphView& subgraph, IConnectableLayer* substituteLayer)
476{
477 ARMNN_THROW_INVALIDARG_MSG_IF_FALSE(substituteLayer, "substituteLayer should not be null");
478
479 // Create a new sub-graph with only the given layer, using
480 // the given sub-graph as a reference of which parent graph to use
481 SubgraphView substituteSubgraph(substituteLayer);
482
483 SubstituteSubgraph(subgraph, substituteSubgraph);
484}
485
486void Graph::SubstituteSubgraph(SubgraphView& subgraph, const SubgraphView& substituteSubgraph)
487{

Calls 5

findFunction · 0.85
beginFunction · 0.85
endFunction · 0.85
ReparentMethod · 0.80
endMethod · 0.45