aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/Graph.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-10-14 11:20:07 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2022-10-14 14:58:27 +0000
commitfcc72f53c56683fe697ac23662c49af09048a428 (patch)
tree92f903de70015a03e8748b0af160af34ceec4d22 /src/armnn/Graph.hpp
parent16c76d5db629d3ef7e4cb143bfa7e1d717e1d492 (diff)
downloadarmnn-fcc72f53c56683fe697ac23662c49af09048a428.tar.gz
IVGCVSW-7267 Make the AllowExpandedDims option work
Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: I3573078206272c3a72a2b3acf8781ab458ea6c90
Diffstat (limited to 'src/armnn/Graph.hpp')
-rw-r--r--src/armnn/Graph.hpp4
1 files changed, 2 insertions, 2 deletions
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());