aboutsummaryrefslogtreecommitdiff
path: root/src/backends
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2023-07-28 14:29:46 +0100
committerNikhil Raj Arm <nikhil.raj@arm.com>2023-08-03 20:43:01 +0000
commit0f3e9a09a90664fc7c6479f1d7b312a4671d9659 (patch)
treea661655f394badb2a5d19bca81b324b3be952d0c /src/backends
parent07169c8cc8b73ba5f3550cb0e8688de73d438c7e (diff)
downloadarmnn-0f3e9a09a90664fc7c6479f1d7b312a4671d9659.tar.gz
IVGCVSW-7635 Remove deprecated code due to be removed in 23.08 (SubgraphView)
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I6686ad0a16ef763dbdc771c7ef792ae2890e0ab2
Diffstat (limited to 'src/backends')
-rw-r--r--src/backends/cl/ClBackend.cpp8
-rw-r--r--src/backends/neon/NeonBackend.cpp8
-rw-r--r--src/backends/reference/RefBackend.cpp8
-rw-r--r--src/backends/tosaReference/TosaRefBackend.cpp4
4 files changed, 14 insertions, 14 deletions
diff --git a/src/backends/cl/ClBackend.cpp b/src/backends/cl/ClBackend.cpp
index 532892e0d0..1d8ae21e5d 100644
--- a/src/backends/cl/ClBackend.cpp
+++ b/src/backends/cl/ClBackend.cpp
@@ -295,18 +295,18 @@ OptimizationViews ClBackend::OptimizeSubgraphView(const SubgraphView& subgraph,
{
OptimizationViews optimizationViews(modelOptions);
- auto it = subgraph.endIConnectable();
+ auto it = subgraph.end();
bool isFastMathEnabled = false;
std::map<LayerGuid, Layer*> untouched;
- while (it != subgraph.beginIConnectable())
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
untouched.insert({base.GetGuid(), &base});
}
- it = subgraph.endIConnectable();
+ it = subgraph.end();
#if defined(ARMCOMPUTECL_ENABLED)
IBackendInternal::IBackendSpecificModelContextPtr modelContextPtr = CreateBackendSpecificModelContext(modelOptions);
@@ -319,7 +319,7 @@ OptimizationViews ClBackend::OptimizeSubgraphView(const SubgraphView& subgraph,
}
}
#endif
- while (it != subgraph.beginIConnectable())
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
diff --git a/src/backends/neon/NeonBackend.cpp b/src/backends/neon/NeonBackend.cpp
index 3a398e03e6..a5e9ab9a96 100644
--- a/src/backends/neon/NeonBackend.cpp
+++ b/src/backends/neon/NeonBackend.cpp
@@ -144,18 +144,18 @@ OptimizationViews NeonBackend::OptimizeSubgraphView(const SubgraphView& subgraph
{
OptimizationViews optimizationViews(modelOptions);
- auto it = subgraph.endIConnectable();
+ auto it = subgraph.end();
std::map<LayerGuid, Layer*> untouched;
- while (it != subgraph.beginIConnectable())
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
untouched.insert({base.GetGuid(), &base});
}
- it = subgraph.endIConnectable();
- while (it != subgraph.beginIConnectable())
+ it = subgraph.end();
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
diff --git a/src/backends/reference/RefBackend.cpp b/src/backends/reference/RefBackend.cpp
index 02749af1f9..fe11fd259c 100644
--- a/src/backends/reference/RefBackend.cpp
+++ b/src/backends/reference/RefBackend.cpp
@@ -74,18 +74,18 @@ OptimizationViews RefBackend::OptimizeSubgraphView(const SubgraphView& subgraph,
{
OptimizationViews optimizationViews(modelOptions);
- auto it = subgraph.endIConnectable();
+ auto it = subgraph.end();
std::map<LayerGuid, Layer*> untouched;
- while (it != subgraph.beginIConnectable())
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
untouched.insert({base.GetGuid(), &base});
}
- it = subgraph.endIConnectable();
- while (it != subgraph.beginIConnectable())
+ it = subgraph.end();
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));
diff --git a/src/backends/tosaReference/TosaRefBackend.cpp b/src/backends/tosaReference/TosaRefBackend.cpp
index 554bb10f0f..bce3e2c1b8 100644
--- a/src/backends/tosaReference/TosaRefBackend.cpp
+++ b/src/backends/tosaReference/TosaRefBackend.cpp
@@ -92,8 +92,8 @@ OptimizationViews TosaRefBackend::OptimizeSubgraphView(const SubgraphView& subgr
std::vector<TosaSerializationOperator*> operators;
std::vector<TosaSerializationTensor*> tensors;
- auto it = subgraph.endIConnectable();
- while (it != subgraph.beginIConnectable())
+ auto it = subgraph.end();
+ while (it != subgraph.begin())
{
--it;
Layer& base = *(PolymorphicDowncast<Layer*>(*it));