ArmNN
 24.02
NeonMultiplicationWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 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/core/Error.h>
11 #include <arm_compute/core/Types.h>
12 #include <arm_compute/runtime/IFunction.h>
13 
14 #include <memory>
15 
16 namespace armnn
17 {
19  const TensorInfo& input1,
20  const TensorInfo& output,
21  const ActivationDescriptor* activationDescriptor = nullptr);
22 
23 class NeonMultiplicationWorkload : public NeonBaseWorkload<MultiplicationQueueDescriptor>
24 {
25 public:
27  virtual void Execute() const override;
28 
29 private:
30  std::unique_ptr<arm_compute::IFunction> m_PixelWiseMultiplication;
31 };
32 
33 } //namespace armnn
armnn::NeonMultiplicationWorkloadValidate
arm_compute::Status NeonMultiplicationWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ActivationDescriptor *activationDescriptor)
Definition: NeonMultiplicationWorkload.cpp:19
armnn::MultiplicationQueueDescriptor
Definition: WorkloadData.hpp:264
NeonBaseWorkload.hpp
armnn::NeonMultiplicationWorkload::NeonMultiplicationWorkload
NeonMultiplicationWorkload(const MultiplicationQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonMultiplicationWorkload.cpp:47
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonMultiplicationWorkload::Execute
virtual void Execute() const override
Definition: NeonMultiplicationWorkload.cpp:78
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonMultiplicationWorkload
Definition: NeonMultiplicationWorkload.hpp:23
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13