ArmNN
 24.02
RefMeanWorkload.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 
11 #include "Decoders.hpp"
12 #include "Encoders.hpp"
13 
14 namespace armnn
15 {
16 
17 class RefMeanWorkload : public RefBaseWorkload<MeanQueueDescriptor>
18 {
19 public:
20  explicit RefMeanWorkload (const MeanQueueDescriptor& descriptor, const WorkloadInfo& info);
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 
27 } //namespace armnn
WorkloadData.hpp
armnn::RefMeanWorkload
Definition: RefMeanWorkload.hpp:17
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::RefMeanWorkload::Execute
void Execute() const override
Definition: RefMeanWorkload.cpp:21
armnn::BoostLogSeverityMapping::info
@ info
armnn::RefMeanWorkload::RefMeanWorkload
RefMeanWorkload(const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefMeanWorkload.cpp:18
Decoders.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::MeanQueueDescriptor
Definition: WorkloadData.hpp:288
Encoders.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::RefMeanWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefMeanWorkload.cpp:26
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14