From fcc72f53c56683fe697ac23662c49af09048a428 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 14 Oct 2022 11:20:07 +0100 Subject: IVGCVSW-7267 Make the AllowExpandedDims option work Signed-off-by: Jim Flynn Change-Id: I3573078206272c3a72a2b3acf8781ab458ea6c90 --- src/armnn/Graph.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/armnn/Graph.hpp') diff --git a/src/armnn/Graph.hpp b/src/armnn/Graph.hpp index 482d9277e8..1b87751e9b 100644 --- a/src/armnn/Graph.hpp +++ b/src/armnn/Graph.hpp @@ -119,12 +119,12 @@ public: m_LayersInOrder = std::move(other.m_LayersInOrder); m_Views = std::move(other.m_Views); m_Profiler = std::move(other.m_Profiler); + m_AllowExpandedDims = other.m_AllowExpandedDims; + m_ShapeInferenceMethod = other.m_ShapeInferenceMethod; other.ForEachLayer([this](Layer* otherLayer) { otherLayer->Reparent(*this, m_Layers.end()); }); - m_AllowExpandedDims = other.m_AllowExpandedDims; - m_ShapeInferenceMethod = other.m_ShapeInferenceMethod; ARMNN_ASSERT(other.m_PosInGraphMap.empty()); ARMNN_ASSERT(other.m_Layers.empty()); -- cgit v1.2.1