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