ArmNN
 25.11
Loading...
Searching...
No Matches
NeonBatchMatMulWorkload.hpp
Go to the documentation of this file.
1//
2// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
9
10#include <arm_compute/runtime/NEON/functions/NEMatMul.h>
11
12namespace armnn
13{
14 arm_compute::Status NeonBatchMatMulValidate(const TensorInfo& inputInfoX,
15 const TensorInfo& inputInfoY,
16 const TensorInfo& outputInfo,
17 const BatchMatMulDescriptor& descriptor,
18 const bool isFastMathEnabled,
19 const ActivationDescriptor* activationDescriptor);
20
21
22 class NeonBatchMatMulWorkload : public NeonBaseWorkload<BatchMatMulQueueDescriptor>
23 {
24 public:
26 const WorkloadInfo& info,
27 const bool isFastMathEnabled);
28 virtual void Execute() const override;
29
30 private:
31 mutable arm_compute::NEMatMul m_MatMulLayer;
32 };
33} //namespace armnn
NeonBaseWorkload(const BatchMatMulQueueDescriptor &descriptor, const WorkloadInfo &info)
NeonBatchMatMulWorkload(const BatchMatMulQueueDescriptor &descriptor, const WorkloadInfo &info, const bool isFastMathEnabled)
virtual void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status NeonBatchMatMulValidate(const TensorInfo &inputInfoX, const TensorInfo &inputInfoY, const TensorInfo &outputInfo, const BatchMatMulDescriptor &descriptor, const bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
An ActivationDescriptor for the ActivationLayer.
A BatchMatMulDescriptor for the BatchMatMul operator.
Contains information about TensorInfos of a layer.