ArmNN
 24.08
RefQuantizeWorkload.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 #include "Decoders.hpp"
11 #include "Encoders.hpp"
12 
13 namespace armnn {
14 
15 class RefQuantizeWorkload : public RefBaseWorkload<QuantizeQueueDescriptor>
16 {
17 public:
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  size_t m_NumElements;
26 };
27 
28 } //namespace armnn
armnn::RefQuantizeWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition: RefQuantizeWorkload.cpp:42
WorkloadData.hpp
armnn::QuantizeQueueDescriptor
Definition: WorkloadData.hpp:299
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::RefQuantizeWorkload::Execute
void Execute() const override
Definition: RefQuantizeWorkload.cpp:37
Decoders.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
RefBaseWorkload.hpp
Encoders.hpp
armnn::RefQuantizeWorkload
Definition: RefQuantizeWorkload.hpp:15
armnn::RefBaseWorkload
Definition: RefBaseWorkload.hpp:13
armnn::RefQuantizeWorkload::RefQuantizeWorkload
RefQuantizeWorkload(const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: RefQuantizeWorkload.cpp:31
armnn::experimental::ExecutionData
Definition: ExecutionData.hpp:14