ArmNN
 21.08
ClConcatWorkload.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/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 #include <arm_compute/runtime/CL/functions/CLConcatenateLayer.h>
13 
14 namespace armnn
15 {
16 
17 arm_compute::Status ClConcatWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
18  const TensorInfo& output,
19  const OriginsDescriptor& descriptor);
20 
21 class ClConcatWorkload : public BaseWorkload<ConcatQueueDescriptor>
22 {
23 public:
24  ClConcatWorkload(const ConcatQueueDescriptor& descriptor,
25  const WorkloadInfo& info,
26  const arm_compute::CLCompileContext& clCompileContext);
27 
28  void Execute() const override;
29 
30 private:
31  mutable std::unique_ptr<arm_compute::IFunction> m_Layer;
32 };
33 
34 } //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
Status
enumeration
Definition: Types.hpp:29
void Execute() const override
ClConcatWorkload(const ConcatQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
arm_compute::Status ClConcatWorkloadValidate(const std::vector< const TensorInfo *> &inputs, const TensorInfo &output, const OriginsDescriptor &descriptor)
Contains information about TensorInfos of a layer.