ArmNN
 22.08
RefReduceWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2022 Samsung Electronics Co Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "RefBaseWorkload.hpp"
10 
11 namespace armnn
12 {
13 
14 class RefReduceWorkload : public RefBaseWorkload<ReduceQueueDescriptor>
15 {
16 public:
17  explicit RefReduceWorkload(const ReduceQueueDescriptor& descriptor,
18  const WorkloadInfo& info);
19 
20  void Execute() const override;
21  void ExecuteAsync(ExecutionData& executionData) override;
22 private:
23  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
24 };
25 
26 } //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
RefReduceWorkload(const ReduceQueueDescriptor &descriptor, const WorkloadInfo &info)
void ExecuteAsync(ExecutionData &executionData) override
Contains information about TensorInfos of a layer.
void Execute() const override