ArmNN
 24.08
NeonConcatWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 #include <arm_compute/runtime/NEON/functions/NEConcatenateLayer.h>
13 
14 #include <memory>
15 
16 namespace armnn
17 {
18 arm_compute::Status NeonConcatWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
19  const TensorInfo& output,
20  const OriginsDescriptor& descriptor);
21 
22 class NeonConcatWorkload : public NeonBaseWorkload<ConcatQueueDescriptor>
23 {
24 public:
25  NeonConcatWorkload(const ConcatQueueDescriptor& descriptor, const WorkloadInfo& info);
26 
28  void Execute() const override;
29 
30 private:
31  std::unique_ptr<arm_compute::NEConcatenateLayer> m_Layer;
32 };
33 
34 } //namespace armnn
armnn::ConcatQueueDescriptor
Definition: WorkloadData.hpp:130
NeonBaseWorkload.hpp
armnn::NeonConcatWorkloadValidate
arm_compute::Status NeonConcatWorkloadValidate(const std::vector< const TensorInfo * > &inputs, const TensorInfo &output, const OriginsDescriptor &descriptor)
Definition: NeonConcatWorkload.cpp:27
armnn::NeonConcatWorkload
Definition: NeonConcatWorkload.hpp:22
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonConcatWorkload::NeonConcatWorkload
NeonConcatWorkload(const ConcatQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonConcatWorkload.cpp:49
armnn::Status
Status
Definition: Types.hpp:42
armnn::NeonConcatWorkload::Execute
void Execute() const override
Definition: NeonConcatWorkload.cpp:98
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13