blob: d64340cb6ddc24159235fb6605285f14c4c75b21 [file] [log] [blame]
Derek Lambertic77874a2020-04-28 13:34:56 +01001//
2// Copyright © 2020 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <backendsCommon/Workload.hpp>
9#include <arm_compute/core/Error.h>
10#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
11
12namespace armnn
13{
14
15arm_compute::Status NeonExpWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
16
17class NeonExpWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
18{
19public:
20 NeonExpWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info);
21 virtual void Execute() const override;
22
23private:
24 mutable arm_compute::NEExpLayer m_ExpLayer;
25};
26
27} //namespace armnn
28
29
30
31
32