ArmNN
 24.08
RefReduceWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Samsung Electronics Co Ltd and Contributors. All rights reserved.
3 // Copyright © 2021-2022 Arm Ltd and Contributors. All rights reserved.
4 // SPDX-License-Identifier: MIT
5 //
6 
7 #pragma once
8 
9 #include "RefBaseWorkload.hpp"
11 
12 namespace armnn
13 {
14 
15 class RefReduceWorkload : public RefBaseWorkload<ReduceQueueDescriptor>
16 {
17 public:
18  explicit RefReduceWorkload(const ReduceQueueDescriptor& descriptor,
19  const WorkloadInfo& info);
20 
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::ReduceQueueDescriptor
Definition: WorkloadData.hpp:686
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::RefReduceWorkload::RefReduceWorkload
RefReduceWorkload(const ReduceQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefReduceWorkload.cpp:17
armnn::RefReduceWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefReduceWorkload.cpp:27
armnn::RefReduceWorkload::Execute
void Execute() const override
Definition: RefReduceWorkload.cpp:22
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::RefReduceWorkload
Definition: RefReduceWorkload.hpp:15
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14