aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-07-28 17:12:41 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-08-05 15:50:44 +0100
commit9d63fee68081b65bd72de3a70da76c2696c6c6ed (patch)
treeb0cc7f5b084be3c2f9a0a2dea0505b55f2c8353e /src
parentc5dfcd30c65459ef09d3014634da1a59bad5cf98 (diff)
downloadarmnn-9d63fee68081b65bd72de3a70da76c2696c6c6ed.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
Diffstat (limited to 'src')
-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