aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/RefLayerSupport.hpp
diff options
context:
space:
mode:
authorSamuel Yap <samuel.yap@arm.com>2022-07-06 15:36:03 +0100
committerSamuel Yap <samuel.yap@arm.com>2022-07-22 16:52:38 +0100
commit4b7a34dd92eb3f736e05ac6623fd147ecd8636b1 (patch)
treec33e5820f89e359c80d8773288e8adb075735039 /src/backends/reference/RefLayerSupport.hpp
parent16929a2b432232f7a34fcbd1f1b0fe1212500206 (diff)
downloadarmnn-4b7a34dd92eb3f736e05ac6623fd147ecd8636b1.tar.gz
IVGCVSW-7109: Add Batch MatMul front end support - Reference
* Descriptors added for BatchMatMul * Layer definition added * Input validation added (will likely change when opt. param support comes in) * Ref workload implementation for BatchMatMul added (will also change with opt. param support) * Ref layer tests made for BatchMatMul * CMake and other build files updated Signed-off-by: Samuel Yap <samuel.yap@arm.com> Change-Id: Ic885301da543ee0fbe7922b85e7f9658c4efc617
Diffstat (limited to 'src/backends/reference/RefLayerSupport.hpp')
-rw-r--r--src/backends/reference/RefLayerSupport.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backends/reference/RefLayerSupport.hpp b/src/backends/reference/RefLayerSupport.hpp
index aa8bd8dda4..b64244db24 100644
--- a/src/backends/reference/RefLayerSupport.hpp
+++ b/src/backends/reference/RefLayerSupport.hpp
@@ -34,6 +34,12 @@ public:
const ArgMinMaxDescriptor& descriptor,
Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
+ bool IsBatchMatMulSupported(const TensorInfo& inputX,
+ const TensorInfo& inputY,
+ const TensorInfo& output,
+ const BatchMatMulDescriptor& descriptor,
+ Optional<std::string &> reasonIfUnsupported = EmptyOptional()) const;
+
bool IsBatchNormalizationSupported(const TensorInfo& input,
const TensorInfo& output,
const TensorInfo& mean,