ArmNN
 24.02
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 
8 #include "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/runtime/NEON/functions/NEMatMul.h>
11 
12 namespace 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
armnn::BatchMatMulQueueDescriptor
Definition: WorkloadData.hpp:753
armnn::NeonBatchMatMulWorkload::NeonBatchMatMulWorkload
NeonBatchMatMulWorkload(const BatchMatMulQueueDescriptor &descriptor, const WorkloadInfo &info, const bool isFastMathEnabled)
Definition: NeonBatchMatMulWorkload.cpp:57
NeonBaseWorkload.hpp
armnn::NeonBatchMatMulValidate
arm_compute::Status NeonBatchMatMulValidate(const TensorInfo &inputInfoX, const TensorInfo &inputInfoY, const TensorInfo &outputInfo, const BatchMatMulDescriptor &descriptor, const bool isFastMathEnabled, const ActivationDescriptor *activationDescriptor)
Definition: NeonBatchMatMulWorkload.cpp:19
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonBatchMatMulWorkload::Execute
virtual void Execute() const override
Definition: NeonBatchMatMulWorkload.cpp:103
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonBatchMatMulWorkload
Definition: NeonBatchMatMulWorkload.hpp:22
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13