From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- 20.05/classarmnn_1_1_cl_abs_workload.xhtml | 238 +++++++++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 20.05/classarmnn_1_1_cl_abs_workload.xhtml (limited to '20.05/classarmnn_1_1_cl_abs_workload.xhtml') diff --git a/20.05/classarmnn_1_1_cl_abs_workload.xhtml b/20.05/classarmnn_1_1_cl_abs_workload.xhtml new file mode 100644 index 0000000000..1ee51ce55f --- /dev/null +++ b/20.05/classarmnn_1_1_cl_abs_workload.xhtml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + +ArmNN: ClAbsWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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 29 of file ClAbsWorkload.cpp.

+ +

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

+
30  : BaseWorkload<AbsQueueDescriptor>(descriptor, info)
31 {
32  m_Data.ValidateInputsOutputs("ClAbsWorkload", 1, 1);
33 
34  arm_compute::ICLTensor& input = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
35  arm_compute::ICLTensor& output = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
36 
37  m_AbsLayer.configure(&input, &output);
38 }
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 40 of file ClAbsWorkload.cpp.

+ +

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

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