blob: 27144f24009f28534290547c9f309a749c1f7243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
//
// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "NeonBaseWorkload.hpp"
#include <arm_compute/runtime/NEON/functions/NEMatMul.h>
namespace armnn
{
arm_compute::Status NeonBatchMatMulValidate(const TensorInfo& inputInfoX,
const TensorInfo& inputInfoY,
const TensorInfo& outputInfo,
const BatchMatMulDescriptor& descriptor,
const bool isFastMathEnabled,
const ActivationDescriptor* activationDescriptor);
class NeonBatchMatMulWorkload : public NeonBaseWorkload<BatchMatMulQueueDescriptor>
{
public:
NeonBatchMatMulWorkload(const BatchMatMulQueueDescriptor& descriptor,
const WorkloadInfo& info,
const bool isFastMathEnabled);
virtual void Execute() const override;
private:
mutable arm_compute::NEMatMul m_MatMulLayer;
};
} //namespace armnn
|