ArmNN
 24.02
RefPermuteWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefBaseWorkload.hpp"
9 
10 #include <armnn/TypesUtils.hpp>
11 
12 namespace armnn
13 {
14 
15 template <armnn::DataType DataType>
16 class RefPermuteWorkload : public TypedWorkload<PermuteQueueDescriptor, DataType>
17 {
18 public:
21  void Execute() const override;
22  void ExecuteAsync(ExecutionData& executionData) override;
23 private:
24  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
25 };
26 
33 
34 } //namespace armnn
armnn::RefPermuteWorkload
Definition: RefPermuteWorkload.hpp:16
TypesUtils.hpp
armnn::TypedWorkload
Definition: Workload.hpp:101
armnn::RefPermuteWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefPermuteWorkload.cpp:23
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefPermuteWorkload::Execute
void Execute() const override
Definition: RefPermuteWorkload.cpp:17
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14