diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2021-10-14 00:28:37 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2021-10-15 13:31:15 +0000 |
commit | 44c4c985a29e84a374a9dc94a2718b4e2d8eab99 (patch) | |
tree | 66c503be3131b4f913e55c4e4b3fe4ed706ef40a | |
parent | b8cc2b9257640a560fb3e9627a2654acf32dbf8d (diff) | |
download | armnn-44c4c985a29e84a374a9dc94a2718b4e2d8eab99.tar.gz |
Profile optimizer in ExecuteNetwork
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Change-Id: I04fb80c967bba4bb377de419bde618c1cbb80075
-rw-r--r-- | tests/InferenceModel.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/InferenceModel.hpp b/tests/InferenceModel.hpp index b982df396d..02511965d9 100644 --- a/tests/InferenceModel.hpp +++ b/tests/InferenceModel.hpp @@ -450,9 +450,9 @@ public: options.m_ReduceFp32ToFp16 = params.m_EnableFp16TurboMode; options.m_ReduceFp32ToBf16 = params.m_EnableBf16TurboMode; options.m_Debug = params.m_PrintIntermediateLayers; - options.m_shapeInferenceMethod = params.m_InferOutputShape ? armnn::ShapeInferenceMethod::InferAndValidate : armnn::ShapeInferenceMethod::ValidateOnly; + options.m_ProfilingEnabled = m_EnableProfiling; armnn::BackendOptions gpuAcc("GpuAcc", { |