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_neon_prelu_workload.xhtml | 236 +++++++++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100644 21.02/classarmnn_1_1_neon_prelu_workload.xhtml (limited to '21.02/classarmnn_1_1_neon_prelu_workload.xhtml') diff --git a/21.02/classarmnn_1_1_neon_prelu_workload.xhtml b/21.02/classarmnn_1_1_neon_prelu_workload.xhtml new file mode 100644 index 0000000000..0c000ae78d --- /dev/null +++ b/21.02/classarmnn_1_1_neon_prelu_workload.xhtml @@ -0,0 +1,236 @@ + + + + + + + + + + + + + +ArmNN: NeonPreluWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
NeonPreluWorkload Class Reference
+
+
+ +

#include <NeonPreluWorkload.hpp>

+
+Inheritance diagram for NeonPreluWorkload:
+
+
+ + +BaseWorkload< PreluQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 19 of file NeonPreluWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NeonPreluWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
NeonPreluWorkload (const PreluQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 30 of file NeonPreluWorkload.cpp.

+ +

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

+
32  : BaseWorkload<PreluQueueDescriptor>(descriptor, info)
33 {
34  m_Data.ValidateInputsOutputs("NeonPreluWorkload", 1, 1);
35 
36  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
37  arm_compute::ITensor& alpha = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[1])->GetTensor();
38  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
39 
40  auto layer = std::make_unique<arm_compute::NEPReluLayer>();
41  layer->configure(&input, &alpha, &output);
42 
43  m_PreluLayer.reset(layer.release());
44 }
const PreluQueueDescriptor 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 46 of file NeonPreluWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON.

+
47 {
48  ARMNN_SCOPED_PROFILING_EVENT_NEON("NeonPreluWorkload_Execute");
49  m_PreluLayer->run();
50 }
#define ARMNN_SCOPED_PROFILING_EVENT_NEON(name)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1