aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-07-28 17:12:41 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2022-07-28 16:23:02 +0000
commit4d3298e21e5bc07bb71cf421d514034b23851bab (patch)
treeb0cc7f5b084be3c2f9a0a2dea0505b55f2c8353e
parent45b0f320723d7d886db2ea9484498149d4746f83 (diff)
downloadarmnn-4d3298e21e5bc07bb71cf421d514034b23851bab.tar.gz
Bug Fix for refactor of the ExecuteNetwork for Strategy in MemCopyLayer
* Correcting some typos Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Icb21dc4828e51afa38816bd454926fc41e9e82cb
-rw-r--r--src/armnn/layers/MemCopyLayer.cpp3
-rw-r--r--src/armnn/layers/MemImportLayer.cpp2
-rw-r--r--src/armnn/layers/PreCompiledLayer.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/armnn/layers/MemCopyLayer.cpp b/src/armnn/layers/MemCopyLayer.cpp
index 3695117e92..0443c75675 100644
--- a/src/armnn/layers/MemCopyLayer.cpp
+++ b/src/armnn/layers/MemCopyLayer.cpp
@@ -51,8 +51,7 @@ void MemCopyLayer::ValidateTensorShapesFromInputs()
void MemCopyLayer::ExecuteStrategy(IStrategy& strategy) const
{
- IgnoreUnused(strategy);
- throw armnn::Exception("FakeQuantizationLayer should not appear in an input graph");
+ strategy.ExecuteStrategy(this, GetParameters(), {}, GetName());
}
} // namespace armnn
diff --git a/src/armnn/layers/MemImportLayer.cpp b/src/armnn/layers/MemImportLayer.cpp
index 182082b5e0..98b012901f 100644
--- a/src/armnn/layers/MemImportLayer.cpp
+++ b/src/armnn/layers/MemImportLayer.cpp
@@ -52,7 +52,7 @@ void MemImportLayer::ValidateTensorShapesFromInputs()
void MemImportLayer::ExecuteStrategy(IStrategy& strategy) const
{
IgnoreUnused(strategy);
- throw armnn::Exception("FakeQuantizationLayer should not appear in an input graph");
+ throw armnn::Exception("MemImportLayer should not appear in an input graph");
}
} // namespace armnn
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp
index 94c9afad2f..19b71e1285 100644
--- a/src/armnn/layers/PreCompiledLayer.cpp
+++ b/src/armnn/layers/PreCompiledLayer.cpp
@@ -52,7 +52,7 @@ void PreCompiledLayer::SetPreCompiledObject(PreCompiledObjectPtr preCompiledObje
void PreCompiledLayer::ExecuteStrategy(IStrategy& strategy) const
{
IgnoreUnused(strategy);
- throw armnn::Exception("FakeQuantizationLayer should not appear in an input graph");
+ throw armnn::Exception("PreCompiledLayer should not appear in an input graph");
}
} // namespace armnn