ArmNN
 21.02
RefPermuteWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
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:
19  static const std::string& GetName()
20  {
21  static const std::string name = std::string("RefPermute") + GetDataTypeName(DataType) + "Workload";
22  return name;
23  }
24 
27  void Execute() const override;
28 };
29 
36 
37 } //namespace armnn
static const std::string & GetName()
Copyright (c) 2021 ARM Limited and Contributors.
constexpr const char * GetDataTypeName(DataType dataType)
Definition: TypesUtils.hpp:180
DataType
Definition: Types.hpp:32
void Execute() const override