blob: 965a845ea8cd2c2e75d0e6431ae40d5cd4fcce31 [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 NeonLogWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
16
17class NeonLogWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
18{
19public:
20 NeonLogWorkload(const ElementwiseUnaryQueueDescriptor& descriptor, const WorkloadInfo& info);
21 virtual void Execute() const override;
22
23private:
24 mutable arm_compute::NELogLayer m_LogLayer;
25};
26
27} //namespace armnn