diff options
author | Matthew Bentham <Matthew.Bentham@arm.com> | 2019-12-06 09:45:13 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2019-12-06 11:20:50 +0000 |
commit | 0182fd369752cc0637571feec696af440e37c972 (patch) | |
tree | 842a031086a16221e9657d2ce085ccb0d116b313 | |
parent | 4f4ea0449105283e06e62d16f99fa938d2781fa3 (diff) | |
download | android-nn-driver-0182fd369752cc0637571feec696af440e37c972.tar.gz |
IVGCVSW-4225 Reject dynamic tensors to TRANSPOSE
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I1038d4f3c73d4e306161459784a0abf20d7e507d
-rw-r--r-- | ConversionUtils.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ConversionUtils.hpp b/ConversionUtils.hpp index 977a8674..760543ad 100644 --- a/ConversionUtils.hpp +++ b/ConversionUtils.hpp @@ -3370,6 +3370,11 @@ bool ConvertTranspose(const HalOperation& operation, const HalModel& model, Conv } 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__, |