ArmNN
 20.02
RefPadWorkload.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 
10 
11 #include <armnn/TypesUtils.hpp>
12 
13 namespace armnn
14 {
15 
16 template <armnn::DataType DataType>
17 class RefPadWorkload : public TypedWorkload<PadQueueDescriptor, DataType>
18 {
19 public:
20 
21  static const std::string& GetName()
22  {
23  static const std::string name = std::string("RefPad") + GetDataTypeName(DataType) + "Workload";
24  return name;
25  }
26 
29 
30  void Execute() const override;
31 };
32 
38 
39 } //namespace armnn
Copyright (c) 2020 ARM Limited.
void Execute() const override
constexpr const char * GetDataTypeName(DataType dataType)
Definition: TypesUtils.hpp:168
static const std::string & GetName()
DataType
Definition: Types.hpp:32