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_mean_workload.xhtml | 246 +++++++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 20.02/classarmnn_1_1_ref_mean_workload.xhtml (limited to '20.02/classarmnn_1_1_ref_mean_workload.xhtml') diff --git a/20.02/classarmnn_1_1_ref_mean_workload.xhtml b/20.02/classarmnn_1_1_ref_mean_workload.xhtml new file mode 100644 index 0000000000..33795be58d --- /dev/null +++ b/20.02/classarmnn_1_1_ref_mean_workload.xhtml @@ -0,0 +1,246 @@ + + + + + + + + + + + + + +ArmNN: RefMeanWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
RefMeanWorkload Class Reference
+
+
+ +

#include <RefMeanWorkload.hpp>

+
+Inheritance diagram for RefMeanWorkload:
+
+
+ + +BaseWorkload< MeanQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 RefMeanWorkload (const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual void Execute () const override
 
- Public Member Functions inherited from BaseWorkload< MeanQueueDescriptor >
 BaseWorkload (const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void PostAllocationConfigure () override
 
const MeanQueueDescriptorGetData () 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< MeanQueueDescriptor >
const MeanQueueDescriptor m_Data
 
const profiling::ProfilingGuid m_Guid
 
+

Detailed Description

+
+

Definition at line 17 of file RefMeanWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ RefMeanWorkload()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
RefMeanWorkload (const MeanQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+explicit
+
+ +

Definition at line 18 of file RefMeanWorkload.cpp.

+
19  :BaseWorkload<MeanQueueDescriptor>(descriptor, info) {}
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 21 of file RefMeanWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT, armnn::CpuRef, armnn::GetTensorInfo(), MeanDescriptor::m_Axis, BaseWorkload< MeanQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and armnn::Mean.

+
22 {
23  ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefMeanWorkload_Execute");
24 
25  const TensorInfo& inputInfo = GetTensorInfo(m_Data.m_Inputs[0]);
26  const TensorInfo& outputInfo = GetTensorInfo(m_Data.m_Outputs[0]);
27 
28  auto inputDecoder = MakeDecoder<float>(inputInfo, m_Data.m_Inputs[0]->Map());
29  auto outputEncoder = MakeEncoder<float>(outputInfo, m_Data.m_Outputs[0]->Map());
30 
31  Mean(inputInfo, outputInfo, m_Data.m_Parameters.m_Axis, *inputDecoder, *outputEncoder);
32 }
CPU Execution: Reference C++ kernels.
+
const MeanQueueDescriptor m_Data
Definition: Workload.hpp:46
+
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+ +
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:169
+
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
+ +
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