diff options
Diffstat (limited to 'src/armnn/SubgraphViewSelector.cpp')
-rw-r--r-- | src/armnn/SubgraphViewSelector.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/armnn/SubgraphViewSelector.cpp b/src/armnn/SubgraphViewSelector.cpp index 7663c31173..e8919c1e12 100644 --- a/src/armnn/SubgraphViewSelector.cpp +++ b/src/armnn/SubgraphViewSelector.cpp @@ -182,10 +182,8 @@ SubgraphViewSelector::SelectSubgraphs(SubgraphView& subgraph, const LayerSelecto infoPtr->CollectNonSelectedOutputSlots(outputs, selector); layers.push_back(infoPtr->m_Layer); } - // Create a new sub-graph with the new lists of input/output slots and layer, using - // the given sub-graph as a reference of which parent graph to use - result.emplace_back(std::make_unique<SubgraphView>(subgraph, - std::move(inputs), + // Create a new sub-graph with the new lists of input/output slots and layer + result.emplace_back(std::make_unique<SubgraphView>(std::move(inputs), std::move(outputs), std::move(layers))); } |