• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <backendsCommon/Workload.hpp>
9 
10 #include <arm_compute/runtime/CL/functions/CLDepthConvertLayer.h>
11 
12 namespace armnn
13 {
14 
15 class ClConvertFp16ToFp32Workload : public Float16ToFloat32Workload<ConvertFp16ToFp32QueueDescriptor>
16 {
17 public:
18 
19     ClConvertFp16ToFp32Workload(const ConvertFp16ToFp32QueueDescriptor& descriptor, const WorkloadInfo& info);
20     virtual void Execute() const override;
21 
22 private:
23     mutable arm_compute::CLDepthConvertLayer m_Layer;
24 };
25 
26 arm_compute::Status ClConvertFp16ToFp32WorkloadValidate(const TensorInfo& input, const TensorInfo& output);
27 
28 } //namespace armnn
29