IVGCVSW-3553 Fix failing zero_sized tests
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: Idd10f34babc0d2552d599872b853ba5fb5c98351
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 8eb48fe..755e3be 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -974,6 +974,11 @@
try
{
armnn::TensorInfo operandTensorInfo = GetTensorInfoForOperand(*operand);
+ if (IsDynamicTensor(operandTensorInfo))
+ {
+ Fail("%s: dynamic input tensors are not supported", __func__);
+ return LayerInputHandle();
+ }
switch (operand->lifetime)
{