ArmNN
 24.08
RefConvolution2dWorkload.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"
10 #include "Decoders.hpp"
11 #include "Encoders.hpp"
12 
13 namespace armnn
14 {
15 
16 class RefConvolution2dWorkload : public RefBaseWorkload<Convolution2dQueueDescriptor>
17 {
18 public:
19  explicit RefConvolution2dWorkload(const Convolution2dQueueDescriptor& descriptor,
20  const WorkloadInfo& info);
21 
22  void Execute() const override;
23  void ExecuteAsync(ExecutionData& executionData) override;
24 
25 private:
26  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
27 
28  const TensorShape m_InputShape;
29  const TensorShape m_FilterShape;
30  const TensorShape m_OutputShape;
31 };
32 
33 } //namespace armnn
WorkloadData.hpp
armnn::RefConvolution2dWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefConvolution2dWorkload.cpp:38
armnn::TensorShape
Definition: Tensor.hpp:20
armnn::Convolution2dQueueDescriptor
Definition: WorkloadData.hpp:210
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::RefConvolution2dWorkload::Execute
void Execute() const override
Definition: RefConvolution2dWorkload.cpp:33
armnn::BoostLogSeverityMapping::info
@ info
Decoders.hpp
armnn::RefConvolution2dWorkload::RefConvolution2dWorkload
RefConvolution2dWorkload(const Convolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefConvolution2dWorkload.cpp:15
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefConvolution2dWorkload
Definition: RefConvolution2dWorkload.hpp:16
Encoders.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14