ArmNN
 24.08
NeonStackWorkload.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/runtime/NEON/functions/NEStackLayer.h>
11 
12 namespace armnn
13 {
14 arm_compute::Status NeonStackWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
15  const TensorInfo& output,
16  const StackDescriptor& descriptor);
17 
18 class NeonStackWorkload : public NeonBaseWorkload<StackQueueDescriptor>
19 {
20 public:
21  NeonStackWorkload(const StackQueueDescriptor& descriptor, const WorkloadInfo& info);
22 
23  void Execute() const override;
24 
25 private:
26  mutable std::unique_ptr<arm_compute::NEStackLayer> m_Layer;
27 };
28 
29 } //namespace armnn
armnn::NeonStackWorkloadValidate
arm_compute::Status NeonStackWorkloadValidate(const std::vector< const TensorInfo * > &inputs, const TensorInfo &output, const StackDescriptor &descriptor)
Definition: NeonStackWorkload.cpp:27
armnn::StackQueueDescriptor
Definition: WorkloadData.hpp:152
armnn::NeonStackWorkload::Execute
void Execute() const override
Definition: NeonStackWorkload.cpp:72
NeonBaseWorkload.hpp
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::NeonStackWorkload
Definition: NeonStackWorkload.hpp:18
armnn::BoostLogSeverityMapping::info
@ info
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonStackWorkload::NeonStackWorkload
NeonStackWorkload(const StackQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonStackWorkload.cpp:49
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13