ArmNN
 24.08
NeonActivationWorkload.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/runtime/IFunction.h>
12 
13 namespace armnn
14 {
16  const TensorInfo& output,
17  const ActivationDescriptor& descriptor);
18 
19 class NeonActivationWorkload : public NeonBaseWorkload<ActivationQueueDescriptor>
20 {
21 public:
23  void Execute() const override;
24 
25 private:
26  std::unique_ptr<arm_compute::IFunction> m_ActivationLayer;
27 };
28 
29 } //namespace armnn
NeonBaseWorkload.hpp
armnn::ActivationQueueDescriptor
Definition: WorkloadData.hpp:158
armnn::NeonActivationWorkload::Execute
void Execute() const override
Definition: NeonActivationWorkload.cpp:56
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonActivationWorkload
Definition: NeonActivationWorkload.hpp:19
armnn::NeonActivationWorkloadValidate
arm_compute::Status NeonActivationWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const ActivationDescriptor &descriptor)
Definition: NeonActivationWorkload.cpp:17
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonActivationWorkload::NeonActivationWorkload
NeonActivationWorkload(const ActivationQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonActivationWorkload.cpp:32
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13