ArmNN
 20.08
ClConvertFp32ToFp16Workload.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 ClConvertFp32ToFp16Workload : public Float32ToFloat16Workload<ConvertFp32ToFp16QueueDescriptor>
16 {
17 public:
18 
20  virtual void Execute() const override;
21 
22 private:
23  mutable arm_compute::CLDepthConvertLayer m_Layer;
24 };
25 
27 
28 } //namespace armnn
arm_compute::Status ClConvertFp32ToFp16WorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Copyright (c) 2020 ARM Limited.
ClConvertFp32ToFp16Workload(const ConvertFp32ToFp16QueueDescriptor &descriptor, const WorkloadInfo &info)
Status
enumeration
Definition: Types.hpp:26
Contains information about inputs and outputs to a layer.