From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/classarmnn_1_1_ref_quantize_workload.xhtml | 270 +++++++++++++++++++++++ 1 file changed, 270 insertions(+) create mode 100644 20.02/classarmnn_1_1_ref_quantize_workload.xhtml (limited to '20.02/classarmnn_1_1_ref_quantize_workload.xhtml') diff --git a/20.02/classarmnn_1_1_ref_quantize_workload.xhtml b/20.02/classarmnn_1_1_ref_quantize_workload.xhtml new file mode 100644 index 0000000000..77013f6280 --- /dev/null +++ b/20.02/classarmnn_1_1_ref_quantize_workload.xhtml @@ -0,0 +1,270 @@ + + + + + + + + + + + + + +ArmNN: RefQuantizeWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
RefQuantizeWorkload Class Reference
+
+
+ +

#include <RefQuantizeWorkload.hpp>

+
+Inheritance diagram for RefQuantizeWorkload:
+
+
+ + +BaseWorkload< QuantizeQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 RefQuantizeWorkload (const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void PostAllocationConfigure () override
 
void Execute () const override
 
- Public Member Functions inherited from BaseWorkload< QuantizeQueueDescriptor >
 BaseWorkload (const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void PostAllocationConfigure () override
 
const QuantizeQueueDescriptorGetData () const
 
profiling::ProfilingGuid GetGuid () const final
 
- Public Member Functions inherited from IWorkload
virtual ~IWorkload ()
 
virtual void RegisterDebugCallback (const DebugCallbackFunction &)
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from BaseWorkload< QuantizeQueueDescriptor >
const QuantizeQueueDescriptor m_Data
 
const profiling::ProfilingGuid m_Guid
 
+

Detailed Description

+
+

Definition at line 15 of file RefQuantizeWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ RefQuantizeWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
RefQuantizeWorkload (const QuantizeQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 31 of file RefQuantizeWorkload.cpp.

+
32  : BaseWorkload(descriptor, info)
33  , m_NumElements(info.m_InputTensorInfos[0].GetNumElements())
34 {
35 }
BaseWorkload(const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: Workload.hpp:32
+ +
+
+
+

Member Function Documentation

+ +

◆ Execute()

+ +
+
+ + + + + +
+ + + + + + + +
void Execute () const
+
+overridevirtual
+
+ +

Implements IWorkload.

+ +

Definition at line 46 of file RefQuantizeWorkload.cpp.

+ +

References BaseWorkload< QuantizeQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, and QueueDescriptor::m_Outputs.

+
47 {
48  m_InputDecoder->Reset(m_Data.m_Inputs[0]->Map());
49  m_OutputEncoder->Reset(m_Data.m_Outputs[0]->Map());
50 
51  QuantizeImpl(*m_InputDecoder, *m_OutputEncoder, m_NumElements);
52 }
const QuantizeQueueDescriptor m_Data
Definition: Workload.hpp:46
+
std::vector< ITensorHandle * > m_Outputs
+
std::vector< ITensorHandle * > m_Inputs
+
+
+
+ +

◆ PostAllocationConfigure()

+ +
+
+ + + + + +
+ + + + + + + +
void PostAllocationConfigure ()
+
+overridevirtual
+
+ +

Implements IWorkload.

+ +

Definition at line 37 of file RefQuantizeWorkload.cpp.

+ +

References armnn::GetTensorInfo(), BaseWorkload< QuantizeQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, and QueueDescriptor::m_Outputs.

+
38 {
39  const TensorInfo& inputInfo = armnn::GetTensorInfo(m_Data.m_Inputs[0]);
40  m_InputDecoder = MakeDecoder<float>(inputInfo);
41 
42  const TensorInfo& outputInfo = armnn::GetTensorInfo(m_Data.m_Outputs[0]);
43  m_OutputEncoder = MakeEncoder<float>(outputInfo);
44 }
const QuantizeQueueDescriptor m_Data
Definition: Workload.hpp:46
+
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+
std::vector< ITensorHandle * > m_Outputs
+
std::vector< ITensorHandle * > m_Inputs
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1