aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/BatchMatMul.hpp
diff options
context:
space:
mode:
authorJohn Mcloughlin <john.mcloughlin@arm.com>2023-04-28 18:36:52 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2023-04-28 19:57:08 +0000
commit083586da02165341b252d7c3ffd4381a1fe30414 (patch)
treeedb55d7d8ea22d07843165945b4a162b6871342e /delegate/opaque/src/BatchMatMul.hpp
parent4236296b3715ca3cfe83142f2e170f8f48a7b18d (diff)
downloadarmnn-083586da02165341b252d7c3ffd4381a1fe30414.tar.gz
IVGCVSW-7606 IVGCVSW-7607 Add Resize and Reduce to Opaque Delegate
* Added 2 opaque delegate operators and associated test cases * Removed IsDynamicTensor check from BatchMatMul as covered by IsValid. Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com> Change-Id: If7c58cb23ae5c5b8a9451dddfd7b6dfcbf248d4c
Diffstat (limited to 'delegate/opaque/src/BatchMatMul.hpp')
-rw-r--r--delegate/opaque/src/BatchMatMul.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/delegate/opaque/src/BatchMatMul.hpp b/delegate/opaque/src/BatchMatMul.hpp
index 5da6e5ac6a..5261fbd6c4 100644
--- a/delegate/opaque/src/BatchMatMul.hpp
+++ b/delegate/opaque/src/BatchMatMul.hpp
@@ -44,15 +44,6 @@ TfLiteStatus VisitBatchMatMulOperator(DelegateData& delegateData,
return kTfLiteError;
}
- if (IsDynamicTensor(kTfLiteLHSInputTensor) || IsDynamicTensor(kTfLiteRHSInputTensor))
- {
- TF_LITE_OPAQUE_MAYBE_KERNEL_LOG(
- tfLiteContext,
- "TfLiteArmnnOpaqueDelegate: Dynamic input tensors are not supported in operator #%d node #%d: ",
- operatorCode, nodeIndex);
- return kTfLiteError;
- }
-
// Gather output indices and use to get output tensors.
int numOutputs = 0;
const int* outputTensors;