aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/INetwork.hpp
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2022-06-27 12:44:50 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-07-08 15:21:39 +0100
commitb619b42118f54c2db1946aef46477926efa4b75c (patch)
tree00a101ce4a4db89481efe36ef312e6a1aae78126 /include/armnn/INetwork.hpp
parentf4ccb1f6339a1e9ed573f188e7f14353167b5749 (diff)
downloadarmnn-b619b42118f54c2db1946aef46477926efa4b75c.tar.gz
IVGCVSW-7034 Modified SubgraphView returned by GetWorkingCopy()
* Add virtual GetSlotIndex to IInputSlot * Fix logic in GetWorkingCopy to use index of slots; so as not to add slots to cloned subgraphView if not in original subgraphView * Add test to cover cases when not all inputSlots to subgraphView layer are part of the original subgraphView * Mark SubgraphView::GetWorkingCopy() as const Change-Id: I1d540f84c57f97f6c834ec06ca13393ffa55d379
Diffstat (limited to 'include/armnn/INetwork.hpp')
-rw-r--r--include/armnn/INetwork.hpp1
1 files changed, 1 insertions, 0 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.