ArmNN
 21.02
ClConvertFp16ToFp32Workload.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/runtime/CL/functions/CLDepthConvertLayer.h>
11 
12 namespace armnn
13 {
14 
15 class ClConvertFp16ToFp32Workload : public Float16ToFloat32Workload<ConvertFp16ToFp32QueueDescriptor>
16 {
17 public:
18 
20  const WorkloadInfo& info,
21  const arm_compute::CLCompileContext& clCompileContext);
22  virtual void Execute() const override;
23 
24 private:
25  mutable arm_compute::CLDepthConvertLayer m_Layer;
26 };
27 
29 
30 } //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClConvertFp16ToFp32WorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Status
enumeration
Definition: Types.hpp:26
ClConvertFp16ToFp32Workload(const ConvertFp16ToFp32QueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Contains information about inputs and outputs to a layer.