aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/PermuteLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/PermuteLayer.cpp')
-rw-r--r--src/armnn/layers/PermuteLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/PermuteLayer.cpp b/src/armnn/layers/PermuteLayer.cpp
index e565b48b57..a585e66538 100644
--- a/src/armnn/layers/PermuteLayer.cpp
+++ b/src/armnn/layers/PermuteLayer.cpp
@@ -40,8 +40,10 @@ std::vector<TensorShape> PermuteLayer::InferOutputShapes(const std::vector<Tenso
return std::vector<TensorShape> ({armnnUtils::Permuted(inShape, m_Param.m_DimMappings)});
}
-void PermuteLayer::ValidateTensorShapesFromInputs()
+void PermuteLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod)
{
+ IgnoreUnused(shapeInferenceMethod);
+
VerifyLayerConnections(1, CHECK_LOCATION());
auto inferredShapes = InferOutputShapes({ GetInputSlot(0).GetConnection()->GetTensorInfo().GetShape() });