blob: 0024d19cac98f4bee2f38bda00c2091dd17e45c8 [file] [log] [blame]
Aron Virginas-Tar914e4db2019-09-09 13:36:45 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <backendsCommon/Workload.hpp>
9
10#include <arm_compute/core/Error.h>
11#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
12
13namespace armnn
14{
15
16arm_compute::Status NeonAbsWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
17
18class NeonAbsWorkload : public BaseWorkload<AbsQueueDescriptor>
19{
20public:
21 NeonAbsWorkload(const AbsQueueDescriptor& descriptor, const WorkloadInfo& info);
22 virtual void Execute() const override;
23
24private:
25 mutable arm_compute::NEAbsLayer m_AbsLayer;
26};
27
28} // namespace armnn