blob: 9405c3c734b833933a5484732e614f5c51a1a464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <backendsCommon/Workload.hpp>
#include <arm_compute/core/Error.h>
#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
namespace armnn
{
arm_compute::Status NeonSinWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
class NeonSinWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
{
public:
NeonSinWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info);
virtual void Execute() const override;
private:
mutable arm_compute::NESinLayer m_SinLayer;
};
} //namespace armnn
|