From fb14ebbd68e04876809145296af96f6f41857418 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 26 Nov 2020 11:08:12 +0000 Subject: IVGCVSW-5348 Update Doxygen Docu * Update Doxygen Documentation for 20.11 release Signed-off-by: James Ward Change-Id: Ib47edac7923a642a277b1169d1085e5622021dc0 --- 20.11/classarmnn_1_1_cl_abs_workload.xhtml | 238 +++++++++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 20.11/classarmnn_1_1_cl_abs_workload.xhtml (limited to '20.11/classarmnn_1_1_cl_abs_workload.xhtml') diff --git a/20.11/classarmnn_1_1_cl_abs_workload.xhtml b/20.11/classarmnn_1_1_cl_abs_workload.xhtml new file mode 100644 index 0000000000..258458f094 --- /dev/null +++ b/20.11/classarmnn_1_1_cl_abs_workload.xhtml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + +ArmNN: ClAbsWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClAbsWorkload Class Reference
+
+
+ +

#include <ClAbsWorkload.hpp>

+
+Inheritance diagram for ClAbsWorkload:
+
+
+ + +BaseWorkload< AbsQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 18 of file ClAbsWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ClAbsWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
ClAbsWorkload (const AbsQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 27 of file ClAbsWorkload.cpp.

+ +

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

+
28  : BaseWorkload<AbsQueueDescriptor>(descriptor, info)
29 {
30  m_Data.ValidateInputsOutputs("ClAbsWorkload", 1, 1);
31 
32  arm_compute::ICLTensor& input = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
33  arm_compute::ICLTensor& output = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
34 
35  m_AbsLayer.configure(&input, &output);
36 }
const AbsQueueDescriptor m_Data
Definition: Workload.hpp:46
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+
std::vector< ITensorHandle * > m_Outputs
+ +
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 38 of file ClAbsWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_CL, CHECK_LOCATION, and armnn::RunClFunction().

+
39 {
40  ARMNN_SCOPED_PROFILING_EVENT_CL("ClAbsWorkload_Execute");
41  RunClFunction(m_AbsLayer, CHECK_LOCATION());
42 }
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
+
#define CHECK_LOCATION()
Definition: Exceptions.hpp:197
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1