aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Graph.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/Graph.hpp')
-rw-r--r--src/armnn/Graph.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp
index dd6a825f57..cc0ccaea77 100644
--- a/src/armnn/Graph.hpp
+++ b/src/armnn/Graph.hpp
@@ -24,7 +24,7 @@
namespace armnn
{
-class SubGraph;
+class SubgraphView;
class Graph
{
@@ -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<SubGraph> subGraph, IConnectableLayer* substituteLayer);
- void SubstituteSubGraph(std::unique_ptr<SubGraph> subGraph, const SubGraph& substituteSubGraph);
+ void SubstituteSubgraph(std::unique_ptr<SubgraphView> subgraph, IConnectableLayer* substituteLayer);
+ void SubstituteSubgraph(std::unique_ptr<SubgraphView> subgraph, const SubgraphView& substituteSubgraph);
void InferTensorInfos();
@@ -217,9 +217,9 @@ private:
std::unordered_set<LayerBindingId> m_OutputIds;
std::unordered_map<const Layer*, Iterator> m_PosInGraphMap;
- void ReplaceSubGraphConnections(const SubGraph& subGraph, IConnectableLayer* substituteLayer);
- void ReplaceSubGraphConnections(const SubGraph& subGraph, const SubGraph& substituteSubGraph);
- void EraseSubGraphLayers(const SubGraph &subGraph);
+ void ReplaceSubgraphConnections(const SubgraphView& subgraph, IConnectableLayer* substituteLayer);
+ void ReplaceSubgraphConnections(const SubgraphView& subgraph, const SubgraphView& substituteSubgraph);
+ void EraseSubgraphLayers(const SubgraphView &subgraph);
/// Mutable to allow sorting on const object.
mutable LayerList m_Layers;