IVGCVSW-4225 Reject dynamic tensors to TRANSPOSE
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I1038d4f3c73d4e306161459784a0abf20d7e507d
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 977a867..760543a 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -3370,6 +3370,11 @@
}
const armnn::TensorInfo& outputInfo = GetTensorInfoForOperand(*output);
+ if (IsDynamicTensor(outputInfo))
+ {
+ return Fail("%s: Dynamic output tensors are not supported", __func__);
+ }
+
bool isSupported = false;
FORWARD_LAYER_SUPPORT_FUNC(__func__,