From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- 21.11/classarmnn_1_1_neon_mean_workload.xhtml | 244 ++++++++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 21.11/classarmnn_1_1_neon_mean_workload.xhtml (limited to '21.11/classarmnn_1_1_neon_mean_workload.xhtml') diff --git a/21.11/classarmnn_1_1_neon_mean_workload.xhtml b/21.11/classarmnn_1_1_neon_mean_workload.xhtml new file mode 100644 index 0000000000..b3c1853b8a --- /dev/null +++ b/21.11/classarmnn_1_1_neon_mean_workload.xhtml @@ -0,0 +1,244 @@ + + + + + + + + + + + + + +ArmNN: NeonMeanWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
NeonMeanWorkload Class Reference
+
+
+ +

#include <NeonMeanWorkload.hpp>

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

+Public Member Functions

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

Detailed Description

+
+

Definition at line 19 of file NeonMeanWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NeonMeanWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
NeonMeanWorkload (const MeanQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 32 of file NeonMeanWorkload.cpp.

+ +

References ARMNN_REPORT_PROFILING_WORKLOAD_DESC, BaseWorkload< MeanQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and QueueDescriptor::ValidateInputsOutputs().

+
33  : BaseWorkload<MeanQueueDescriptor>(descriptor, info)
34 {
35  // Report Profiling Details
36  ARMNN_REPORT_PROFILING_WORKLOAD_DESC("NeonMeanWorkload_Construct",
37  descriptor.m_Parameters,
38  info,
39  this->GetGuid());
40 
41  m_Data.ValidateInputsOutputs("NeonMeanWorkload", 1, 1);
42 
43  arm_compute::ITensor& input = static_cast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
44  arm_compute::ITensor& output = static_cast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
45 
46  arm_compute::Coordinates coords = BuildArmComputeReductionCoordinates(input.info()->num_dimensions(),
47  info.m_InputTensorInfos[0].GetNumDimensions(),
49 
50  m_Layer.configure(&input, coords, m_Data.m_Parameters.m_KeepDims, &output);
51 }
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ +
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
+
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept...
+ +
std::vector< ITensorHandle * > m_Outputs
+ +
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
Definition: Profiling.hpp:227
+
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 53 of file NeonMeanWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID, and BaseWorkload< MeanQueueDescriptor >::GetGuid().

+
54 {
55  ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID("NeonMeanWorkload_Execute", this->GetGuid());
56  m_Layer.run();
57 }
profiling::ProfilingGuid GetGuid() const final
Definition: Workload.hpp:55
+
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID(name, guid)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1