diff options
-rw-r--r-- | src/armnnDeserializer/Deserializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnnDeserializer/Deserializer.cpp b/src/armnnDeserializer/Deserializer.cpp index f8ec2e79cf..1dab9bf74f 100644 --- a/src/armnnDeserializer/Deserializer.cpp +++ b/src/armnnDeserializer/Deserializer.cpp @@ -2481,7 +2481,7 @@ void Deserializer::ParseStack(GraphPtr graph, unsigned int layerIndex) for (unsigned int i=0; i<inputs.size(); ++i) { - armnn::TensorShape& inputShape = ToTensorInfo(inputs[i]).GetShape(); + armnn::TensorShape inputShape = ToTensorInfo(inputs[i]).GetShape(); if (descriptor.m_InputShape != inputShape) { std::stringstream ss; |