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