ArmNN
 24.08
RefGatherWorkload.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 #include <armnn/TypesUtils.hpp>
12 #include "BaseIterator.hpp"
13 #include "Decoders.hpp"
14 #include "Encoders.hpp"
15 
16 namespace armnn
17 {
18 
19 class RefGatherWorkload : public RefBaseWorkload<GatherQueueDescriptor>
20 {
21 public:
23  void Execute() const override;
24  void ExecuteAsync(ExecutionData& executionData) override;
25 private:
26  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
27 };
28 
29 } // namespace armnn
armnn::RefGatherWorkload
Definition: RefGatherWorkload.hpp:19
WorkloadData.hpp
BaseIterator.hpp
TypesUtils.hpp
armnn::RefGatherWorkload::Execute
void Execute() const override
Definition: RefGatherWorkload.cpp:17
armnn::RefGatherWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefGatherWorkload.cpp:22
Decoders.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
Encoders.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14