blob: d3533e64bdbfe121e5d77992174279e88b3d52e8 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
Teresa Charlin588cbdf2022-01-19 15:55:37 +00002// Copyright © 2017 Arm Ltd and Contributors. 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
Teresa Charlin588cbdf2022-01-19 15:55:37 +00008#include "ClBaseWorkload.hpp"
Matthew Bentham14e46692018-09-20 15:35:30 +01009
Matthew Bentham9b3e7382020-02-05 21:39:55 +000010#include <arm_compute/runtime/CL/functions/CLReshapeLayer.h>
telsoa014fcda012018-03-09 14:13:49 +000011
12namespace armnn
13{
14
Kevin Maya023c402019-12-12 17:28:05 +000015arm_compute::Status ClReshapeWorkloadValidate(const TensorInfo& input,
16 const TensorInfo& output);
17
Teresa Charlin588cbdf2022-01-19 15:55:37 +000018class ClReshapeWorkload : public ClBaseWorkload<ReshapeQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000019{
20public:
Sadik Armagane9444752020-12-02 11:28:58 +000021 ClReshapeWorkload(const ReshapeQueueDescriptor& descriptor,
22 const WorkloadInfo& info,
23 const arm_compute::CLCompileContext& clCompileContext);
telsoa014fcda012018-03-09 14:13:49 +000024
25 void Execute() const override;
26
27private:
28 mutable arm_compute::CLReshapeLayer m_Layer;
29};
30
31} //namespace armnn