ArmNN
 24.08
NeonSubtractionWorkload.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 {
18 
20  const TensorInfo& input1,
21  const TensorInfo& output,
22  const ActivationDescriptor* activationDescriptor = nullptr);
23 
24 class NeonSubtractionWorkload : public NeonBaseWorkload<SubtractionQueueDescriptor>
25 {
26 public:
28  virtual void Execute() const override;
29 
30 private:
31  std::unique_ptr<arm_compute::IFunction> m_SubLayer;
32 };
33 
34 } //namespace armnn
armnn::NeonSubtractionWorkloadValidate
arm_compute::Status NeonSubtractionWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ActivationDescriptor *activationDescriptor)
Definition: NeonSubtractionWorkload.cpp:22
armnn::NeonSubtractionWorkload
Definition: NeonSubtractionWorkload.hpp:24
NeonBaseWorkload.hpp
armnn::NeonSubtractionWorkload::Execute
virtual void Execute() const override
Definition: NeonSubtractionWorkload.cpp:58
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonSubtractionWorkload::NeonSubtractionWorkload
NeonSubtractionWorkload(const SubtractionQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonSubtractionWorkload.cpp:41
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn::SubtractionQueueDescriptor
Definition: WorkloadData.hpp:276
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13