blob: dd309b44c2eb4e813639f3bda50b9e628844a31b [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008#include <backendsCommon/Workload.hpp>
Matthew Bentham14e46692018-09-20 15:35:30 +01009
Matthew Bentham9b3e7382020-02-05 21:39:55 +000010#include <arm_compute/runtime/CL/functions/CLNormalizationLayer.h>
telsoa014fcda012018-03-09 14:13:49 +000011
12namespace armnn
13{
14
15arm_compute::Status ClNormalizationWorkloadValidate(const TensorInfo& input,
16 const TensorInfo& output,
17 const NormalizationDescriptor& descriptor);
18
arovir019e53a352018-08-31 15:26:35 +010019class ClNormalizationFloatWorkload : public FloatWorkload<NormalizationQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000020{
21public:
Sadik Armagane9444752020-12-02 11:28:58 +000022 ClNormalizationFloatWorkload(const NormalizationQueueDescriptor& descriptor,
23 const WorkloadInfo& info,
24 const arm_compute::CLCompileContext& clCompileContext);
telsoa014fcda012018-03-09 14:13:49 +000025 void Execute() const override;
26
27private:
28 mutable arm_compute::CLNormalizationLayer m_NormalizationLayer;
29};
30
Matthew Bentham14e46692018-09-20 15:35:30 +010031} //namespace armnn