From 0c051f9b6b8d7d1602e81d2977dda449b6392642 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 31 Jan 2019 12:09:49 +0000 Subject: IVGCVSW-2471 Code cleanup where necessary * Added comments for the new API functions * Added comments to some critical parts of the code * Removed unnecessary code Change-Id: I04d4e7373b45b8a3806cacc93a8bd09351c0972a Signed-off-by: Matteo Martincigh --- src/armnn/Graph.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/armnn/Graph.hpp') diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp index 8046977411..dd6a825f57 100644 --- a/src/armnn/Graph.hpp +++ b/src/armnn/Graph.hpp @@ -161,6 +161,8 @@ public: /// and relinking them via an intermediary copy layers. void AddCopyLayers(); + /// 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, IConnectableLayer* substituteLayer); void SubstituteSubGraph(std::unique_ptr subGraph, const SubGraph& substituteSubGraph); -- cgit v1.2.1