ArmNN
 22.08
EthosnRefConvolution2dWorkload.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 namespace armnn
12 {
13 
14 
15 class EthosnRefConvolution2dWorkload : public BaseWorkload<Convolution2dQueueDescriptor>
16 {
17 public:
19  const WorkloadInfo& info, bool winograd = false, std::string BlockConfigs = "");
20 
21  virtual void Execute() const override;
22 
23 private:
24  std::unique_ptr<ScopedCpuTensorHandle> m_Weight;
25  std::unique_ptr<ScopedCpuTensorHandle> m_Bias;
26 
27  TensorShape m_InputShape;
28  TensorShape m_OutputShape;
29 
30  bool m_Winograd;
31  bool m_IsBlockConfigsWinograd2dCompatible;
32 };
33 
34 } //namespace armnn
35 
EthosnRefConvolution2dWorkload(const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info, bool winograd=false, std::string BlockConfigs="")
Copyright (c) 2021 ARM Limited and Contributors.
Contains information about TensorInfos of a layer.