IVGCVSW-5355 Skipped VTS DynamicOutputShape Expand Dims should be passing
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: If6ed4e513cc0e8ee29fb76127d66893f8b98e30b
diff --git a/ConversionUtils_1_2.hpp b/ConversionUtils_1_2.hpp
index 080b826..cddb13d 100644
--- a/ConversionUtils_1_2.hpp
+++ b/ConversionUtils_1_2.hpp
@@ -653,11 +653,6 @@
return Fail("%s: %s", __func__, e.what());
}
- if (targetShape != outputInfo.GetShape())
- {
- return Fail("%s: Shape of the output operand does not match the resolved expanded shape", __func__);
- }
-
ReshapeDescriptor reshapeDescriptor;
reshapeDescriptor.m_TargetShape = targetShape;
@@ -675,6 +670,10 @@
if(!IsDynamicTensor(outputInfo))
{
+ if (targetShape != outputInfo.GetShape())
+ {
+ return Fail("%s: Shape of the output operand does not match the resolved expanded shape", __func__);
+ }
validateFunc(outputInfo, isSupported);
}
else