ArmNN
 24.08
NeonLogWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
9 #include <arm_compute/core/Error.h>
10 #include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
11 
12 namespace armnn
13 {
14 
15 arm_compute::Status NeonLogWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
16 
17 class NeonLogWorkload : public NeonBaseWorkload<ElementwiseUnaryQueueDescriptor>
18 {
19 public:
21  virtual void Execute() const override;
22 
23 private:
24  mutable arm_compute::NELogLayer m_LogLayer;
25 };
26 
27 } //namespace armnn
NeonBaseWorkload.hpp
armnn::NeonLogWorkloadValidate
arm_compute::Status NeonLogWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Definition: NeonLogWorkload.cpp:17
armnn::NeonLogWorkload::Execute
virtual void Execute() const override
Definition: NeonLogWorkload.cpp:36
armnn::ElementwiseUnaryQueueDescriptor
Definition: WorkloadData.hpp:676
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonLogWorkload::NeonLogWorkload
NeonLogWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonLogWorkload.cpp:25
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonLogWorkload
Definition: NeonLogWorkload.hpp:17
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13