diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-05-08 10:23:08 +0100 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2019-05-08 11:52:29 +0100 |
commit | c2fe5fb3a070ce2c7daebf63d0def3d57cec09d3 (patch) | |
tree | e21332cfe689c08f9939d251a2d8fa56a9f81e1e /src/armnn/Graph.hpp | |
parent | 59f32f96c0fc5c451e0fdbbfc24b072b07dc226b (diff) | |
download | armnn-c2fe5fb3a070ce2c7daebf63d0def3d57cec09d3.tar.gz |
IVGCVSW-3031 Finer grained backend optimization API
Change-Id: I9b93bc81b97f3d89fa046ba001854f732040e63a
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnn/Graph.hpp')
-rw-r--r-- | src/armnn/Graph.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp index cc0ccaea77..88d2002112 100644 --- a/src/armnn/Graph.hpp +++ b/src/armnn/Graph.hpp @@ -163,8 +163,8 @@ public: /// Substitutes the given sub-graph with either a new layer or a new sub-graph. /// In either case, the given layer or all the layers in the given sub-graph must belong to this graph. - void SubstituteSubgraph(std::unique_ptr<SubgraphView> subgraph, IConnectableLayer* substituteLayer); - void SubstituteSubgraph(std::unique_ptr<SubgraphView> subgraph, const SubgraphView& substituteSubgraph); + void SubstituteSubgraph(SubgraphView& subgraph, IConnectableLayer* substituteLayer); + void SubstituteSubgraph(SubgraphView& subgraph, const SubgraphView& substituteSubgraph); void InferTensorInfos(); @@ -219,7 +219,7 @@ private: void ReplaceSubgraphConnections(const SubgraphView& subgraph, IConnectableLayer* substituteLayer); void ReplaceSubgraphConnections(const SubgraphView& subgraph, const SubgraphView& substituteSubgraph); - void EraseSubgraphLayers(const SubgraphView &subgraph); + void EraseSubgraphLayers(SubgraphView &subgraph); /// Mutable to allow sorting on const object. mutable LayerList m_Layers; |