blob: 763cafcfbd4d8c509ec4ac2e2fc2fcb6e5c1d393 (
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 © 2017 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/CL/functions/CLElementWiseUnaryLayer.h>
namespace armnn
{
arm_compute::Status ClAbsWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
class ClAbsWorkload : public BaseWorkload<AbsQueueDescriptor>
{
public:
ClAbsWorkload(const AbsQueueDescriptor& descriptor, const WorkloadInfo& info);
virtual void Execute() const override;
private:
mutable arm_compute::CLAbsLayer m_AbsLayer;
};
} // namespace armnn
|