aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/PreCompiledLayer.cpp
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-01-07 09:47:29 +0000
committerTeresaARM <teresa.charlinreyes@arm.com>2022-01-18 13:15:41 +0000
commit611c7fb97412230d5cefee047081455fb60db06c (patch)
tree1244050b50a300f67285aef00d8b05c52865b89a /src/armnn/layers/PreCompiledLayer.cpp
parent53e06599a3af44db90c37d1cda34fc85ec9c27fa (diff)
downloadarmnn-611c7fb97412230d5cefee047081455fb60db06c.tar.gz
IVGCVSW-6641 Stabilize the IWorkloadFactory interface with unified strategy
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia941be9bf2c15fe56e49a9b9a2bbe943a8152438
Diffstat (limited to 'src/armnn/layers/PreCompiledLayer.cpp')
-rw-r--r--src/armnn/layers/PreCompiledLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp
index 80320e3ba2..ff2fa322e7 100644
--- a/src/armnn/layers/PreCompiledLayer.cpp
+++ b/src/armnn/layers/PreCompiledLayer.cpp
@@ -34,7 +34,7 @@ std::unique_ptr<IWorkload> PreCompiledLayer::CreateWorkload(const armnn::IWorklo
descriptor.m_PreCompiledObject = m_PreCompiledObject.get();
SetAdditionalInfo(descriptor);
- return factory.CreatePreCompiled(descriptor, PrepInfoAndDesc(descriptor));
+ return factory.CreateWorkload(LayerType::PreCompiled, descriptor, PrepInfoAndDesc(descriptor));
}
void PreCompiledLayer::ValidateTensorShapesFromInputs()