ArmNN
 20.05
ClAbsWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/CL/functions/CLElementWiseUnaryLayer.h>
12 
13 namespace armnn
14 {
15 
16 arm_compute::Status ClAbsWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
17 
18 class ClAbsWorkload : public BaseWorkload<AbsQueueDescriptor>
19 {
20 public:
21  ClAbsWorkload(const AbsQueueDescriptor& descriptor, const WorkloadInfo& info);
22  virtual void Execute() const override;
23 
24 private:
25  mutable arm_compute::CLAbsLayer m_AbsLayer;
26 };
27 
28 } // namespace armnn
ClAbsWorkload(const AbsQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2020 ARM Limited.
virtual void Execute() const override
Status
enumeration
Definition: Types.hpp:26
arm_compute::Status ClAbsWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Contains information about inputs and outputs to a layer.