blob: 7b2ed17a3e828e7fdc278f2d2592ca1b0e923133 (
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
28
|
//
// Copyright © 2020 Arm Ltd. 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 NeonNegWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
class NeonNegWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
{
public:
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info);
virtual void Execute() const override;
private:
mutable arm_compute::NENegLayer m_NegLayer;
};
} // namespace armnn
|