aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/armnn/INetwork.hpp1
-rw-r--r--include/armnn/backends/SubgraphView.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp
index 94afbf346a..3d4be1a7fa 100644
--- a/include/armnn/INetwork.hpp
+++ b/include/armnn/INetwork.hpp
@@ -29,6 +29,7 @@ public:
virtual IOutputSlot* GetConnection() = 0;
virtual const IConnectableLayer& GetOwningIConnectableLayer() const = 0;
virtual IConnectableLayer& GetOwningIConnectableLayer() = 0;
+ virtual unsigned int GetSlotIndex() const = 0;
protected:
/// Not user deletable.
diff --git a/include/armnn/backends/SubgraphView.hpp b/include/armnn/backends/SubgraphView.hpp
index dbf0544651..72d36829f4 100644
--- a/include/armnn/backends/SubgraphView.hpp
+++ b/include/armnn/backends/SubgraphView.hpp
@@ -156,7 +156,7 @@ public:
/// Backend users should edit this working copy and then add it as a SubstitutionPair, along with original
/// SubgraphView, to the OptimizationViews returned by OptimizeSubgraphView.
/// ArmNN will then decide on whether or not to carry out Substitution of the two SubgraphViews.
- SubgraphView GetWorkingCopy();
+ SubgraphView GetWorkingCopy() const;
/// These methods should be called on a working copy subgraph created from GetWorkingCopy.
/// They take a SubgraphView pattern to replace and the substitute layer or subgraphView to substitute in.