blob: 6a43b8471ddc795d47a9ccf400c7949039ee2eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <backendsCommon/Workload.hpp>
#include <backendsCommon/WorkloadData.hpp>
namespace armnn {
class RefQuantizeWorkload : public BaseWorkload<QuantizeQueueDescriptor>
{
public:
RefQuantizeWorkload(const QuantizeQueueDescriptor& descriptor, const WorkloadInfo &info);
void Execute() const override;
private:
size_t m_NumElements;
armnn::DataType m_TargetType;
float m_Scale;
int m_Offset;
};
} //namespace armnn
|