ArmNN
 23.11
RefConstantWorkload.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 <armnn/Types.hpp>
12 
13 namespace armnn
14 {
15 
16 // Base class template providing an implementation of the Constant layer common to all data types.
17 class RefConstantWorkload : public RefBaseWorkload<ConstantQueueDescriptor>
18 {
19 public:
21 
22  void Execute() const override;
23  void ExecuteAsync(ExecutionData& executionData) override;
24 private:
25  void Execute(std::vector<ITensorHandle*> outputs) const;
26 };
27 
28 } //namespace armnn
WorkloadData.hpp
armnn::RefConstantWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefConstantWorkload.cpp:28
armnn::ConstantQueueDescriptor
Definition: WorkloadData.hpp:368
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::RefConstantWorkload::Execute
void Execute() const override
Definition: RefConstantWorkload.cpp:23
armnn::RefConstantWorkload::RefConstantWorkload
RefConstantWorkload(const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefConstantWorkload.cpp:19
armnn::BoostLogSeverityMapping::info
@ info
armnn::RefConstantWorkload
Definition: RefConstantWorkload.hpp:17
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
Types.hpp
RefBaseWorkload.hpp
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14