IVGCVSW-2043 Merger using ACL for innermost concat axis
authorMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 20 Nov 2018 09:34:27 +0000 (09:34 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 20 Nov 2018 09:35:53 +0000 (09:35 +0000)
 * Fixed unsigned to signed conversion error that was
   breaking master

Change-Id: I08d79d9bf131eb46ea0495371160698ab59c1721

src/armnn/layers/MergerLayer.cpp

index 545c7e0e0eafa2e5ee76fa49973c3b5e82a35035..85dc0e760953f7e3f7e2c5bb83f3c1e3713aecf1 100644 (file)
@@ -41,7 +41,7 @@ void MergerLayer::CreateTensorHandles(Graph& graph, const IWorkloadFactory& fact
     //are made subtensors of the output of the merger layer.
     m_OutputHandlers[0].CreateTensorHandles(factory);
 
-    signed long innerAxis = m_Param.GetNumDimensions() - m_Param.GetConcatAxis();
+    unsigned int innerAxis = m_Param.GetNumDimensions() - m_Param.GetConcatAxis();
 
     if (factory.SupportsSubTensors() && innerAxis != 1)
     {