ArmNN
 24.08
RefStackWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefBaseWorkload.hpp"
10 
11 namespace armnn
12 {
13 
14 class RefStackWorkload : public RefBaseWorkload<StackQueueDescriptor>
15 {
16 public:
17  explicit RefStackWorkload(const StackQueueDescriptor& descriptor,
18  const WorkloadInfo& info);
19  void Execute() const override;
20  void ExecuteAsync(ExecutionData& executionData) override;
21 private:
22  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
23 };
24 
25 } // namespace armnn
armnn::RefStackWorkload
Definition: RefStackWorkload.hpp:14
armnn::RefStackWorkload::Execute
void Execute() const override
Definition: RefStackWorkload.cpp:21
WorkloadData.hpp
armnn::StackQueueDescriptor
Definition: WorkloadData.hpp:152
armnn::RefStackWorkload::RefStackWorkload
RefStackWorkload(const StackQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefStackWorkload.cpp:16
armnn::RefStackWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefStackWorkload.cpp:26
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14