aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/LayerWithParameters.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/LayerWithParameters.hpp')
-rw-r--r--src/armnn/layers/LayerWithParameters.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/layers/LayerWithParameters.hpp b/src/armnn/layers/LayerWithParameters.hpp
index 0a1dbf363c..4e7cd45125 100644
--- a/src/armnn/layers/LayerWithParameters.hpp
+++ b/src/armnn/layers/LayerWithParameters.hpp
@@ -61,7 +61,7 @@ protected:
Layer::ImmutableConstantTensors tensors;
for (unsigned int i = 0; i < GetNumInputSlots(); ++i)
{
- if (GetInputSlot(i).GetConnection() && GetInputSlot(i).GetConnection()->GetTensorInfo().IsConstant())
+ if (GetInputSlot(i).GetConnection() && GetInputSlot(i).GetTensorInfo().IsConstant())
{
auto &inputLayer = GetInputSlot(i).GetConnectedOutputSlot()->GetOwningLayer();
if (inputLayer.GetType() == armnn::LayerType::Constant)