From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/classarmnn_1_1_cl_reduce_workload.xhtml | 241 ++++++++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 21.02/classarmnn_1_1_cl_reduce_workload.xhtml (limited to '21.02/classarmnn_1_1_cl_reduce_workload.xhtml') diff --git a/21.02/classarmnn_1_1_cl_reduce_workload.xhtml b/21.02/classarmnn_1_1_cl_reduce_workload.xhtml new file mode 100644 index 0000000000..2b11b30341 --- /dev/null +++ b/21.02/classarmnn_1_1_cl_reduce_workload.xhtml @@ -0,0 +1,241 @@ + + + + + + + + + + + + + +ArmNN: ClReduceWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClReduceWorkload Class Reference
+
+
+ +

#include <ClReduceWorkload.hpp>

+
+Inheritance diagram for ClReduceWorkload:
+
+
+ + +BaseWorkload< ReduceQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 19 of file ClReduceWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ClReduceWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
ClReduceWorkload (const ReduceQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 42 of file ClReduceWorkload.cpp.

+ +

References BaseWorkload< ReduceQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, and QueueDescriptor::ValidateInputsOutputs().

+
43  : BaseWorkload<ReduceQueueDescriptor>(descriptor, info)
44 {
45  m_Data.ValidateInputsOutputs("ClReduceWorkload", 1, 1);
46 
47  arm_compute::ICLTensor& input = static_cast<IClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
48  arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
49 
50  arm_compute::Coordinates coords = BuildArmComputeReductionCoordinates(input.info()->num_dimensions(),
51  info.m_InputTensorInfos[0].GetNumDimensions(),
53  m_Layer.configure(&input,
54  &output,
55  static_cast<unsigned int>(coords[0]),
58 }
bool m_KeepDims
if true then output shape has no change.
+
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
+
const ReduceQueueDescriptor m_Data
Definition: Workload.hpp:46
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ +
arm_compute::ReductionOperation ConvertReductionOperationToAcl(const ReduceDescriptor &descriptor)
+
std::vector< uint32_t > m_vAxis
The indices of the dimensions to reduce.
+
std::vector< ITensorHandle * > m_Outputs
+ +
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 60 of file ClReduceWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_CL.

+
61 {
62  ARMNN_SCOPED_PROFILING_EVENT_CL("ClReduceWorkload_Execute");
63  m_Layer.run();
64 }
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1