aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ConversionUtils.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp
index 830502df..cdb57d1f 100644
--- a/ConversionUtils.hpp
+++ b/ConversionUtils.hpp
@@ -3671,7 +3671,8 @@ bool ConvertSqueeze(const HalOperation& operation, const HalModel& model, Conver
{
return Fail("%s: Could not read output 0", __func__);
}
- if (IsDynamicTensor(GetTensorInfoForOperand(*output)))
+
+ if (IsDynamicTensor(GetTensorInfoForOperand(*output)) && !(AreDynamicTensorsSupported()))
{
return Fail("%s: Dynamic output tensors are not supported", __func__);
}