blob: 9405c3c734b833933a5484732e614f5c51a1a464 [file] [log] [blame]
Teresa Charlin50de4fa2021-05-31 18:47:33 +01001//
2// Copyright © 2021 Arm Ltd and Contributors. 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 NeonSinWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
16
17class NeonSinWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
18{
19public:
20 NeonSinWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info);
21 virtual void Execute() const override;
22
23private:
24 mutable arm_compute::NESinLayer m_SinLayer;
25};
26
27} //namespace armnn