ArmNN
NotReleased
RefQuantizeWorkload.hpp
Go to the documentation of this file.
1
//
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
#include "
Decoders.hpp
"
11
#include "
Encoders.hpp
"
12
13
namespace
armnn
{
14
15
class
RefQuantizeWorkload
:
public
BaseWorkload
<QuantizeQueueDescriptor>
16
{
17
public
:
18
RefQuantizeWorkload
(
const
QuantizeQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
19
void
PostAllocationConfigure
()
override
;
20
void
Execute
()
const override
;
21
22
private
:
23
24
std::unique_ptr<Decoder<float>> m_InputDecoder;
25
std::unique_ptr<Encoder<float>> m_OutputEncoder;
26
27
size_t
m_NumElements;
28
};
29
30
}
//namespace armnn
armnn::QuantizeQueueDescriptor
Definition:
WorkloadData.hpp:257
armnn::RefQuantizeWorkload::PostAllocationConfigure
void PostAllocationConfigure() override
Definition:
RefQuantizeWorkload.cpp:37
armnn::BoostLogSeverityMapping::info
armnn::RefQuantizeWorkload::Execute
void Execute() const override
Definition:
RefQuantizeWorkload.cpp:46
Workload.hpp
armnn::WorkloadInfo
Definition:
WorkloadInfo.hpp:16
armnn::RefQuantizeWorkload
Definition:
RefQuantizeWorkload.hpp:15
armnn::RefQuantizeWorkload::RefQuantizeWorkload
RefQuantizeWorkload(const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
RefQuantizeWorkload.cpp:31
WorkloadData.hpp
Decoders.hpp
armnn
Definition:
BackendHelper.hpp:11
Encoders.hpp
armnn::BaseWorkload
Definition:
Workload.hpp:28
src
backends
reference
workloads
RefQuantizeWorkload.hpp
Generated on Fri Mar 13 2020 16:06:58 for ArmNN by
1.8.13