ArmNN
 24.08
RefTransposeWorkload.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"
9 
10 #include <armnn/TypesUtils.hpp>
11 
12 namespace armnn
13 {
14 
15 template <armnn::DataType DataType>
16 class RefTransposeWorkload : public TypedWorkload<TransposeQueueDescriptor, 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
TypesUtils.hpp
armnn::TypedWorkload
Definition: Workload.hpp:101
armnn::RefTransposeWorkload::Execute
void Execute() const override
Definition: RefTransposeWorkload.cpp:17
armnn::RefTransposeWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefTransposeWorkload.cpp:23
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefTransposeWorkload
Definition: RefTransposeWorkload.hpp:16
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14