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_slice_workload.xhtml | 241 +++++++++++++++++++++++++ 1 file changed, 241 insertions(+) create mode 100644 21.02/classarmnn_1_1_neon_slice_workload.xhtml (limited to '21.02/classarmnn_1_1_neon_slice_workload.xhtml') diff --git a/21.02/classarmnn_1_1_neon_slice_workload.xhtml b/21.02/classarmnn_1_1_neon_slice_workload.xhtml new file mode 100644 index 0000000000..65700a4182 --- /dev/null +++ b/21.02/classarmnn_1_1_neon_slice_workload.xhtml @@ -0,0 +1,241 @@ + + + + + + + + + + + + + +ArmNN: NeonSliceWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
NeonSliceWorkload Class Reference
+
+
+ +

#include <NeonSliceWorkload.hpp>

+
+Inheritance diagram for NeonSliceWorkload:
+
+
+ + +BaseWorkload< SliceQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 21 of file NeonSliceWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NeonSliceWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
NeonSliceWorkload (const SliceQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 36 of file NeonSliceWorkload.cpp.

+ +

References SliceDescriptor::m_Begin, BaseWorkload< SliceQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, SliceDescriptor::m_Size, armnn::SetNeonSliceData(), and QueueDescriptor::ValidateInputsOutputs().

+
38  : BaseWorkload<SliceQueueDescriptor>(descriptor, info)
39 {
40  m_Data.ValidateInputsOutputs("NeonSliceWorkload", 1, 1);
41 
42  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
43  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
44 
47 
49 
50  m_SliceFunction.configure(&input, &output, starts, ends);
51 }
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
+
const SliceQueueDescriptor m_Data
Definition: Workload.hpp:46
+
std::vector< unsigned int > m_Size
Size of the slice in each dimension.
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ +
std::vector< unsigned int > m_Begin
Beginning indices of the slice in each dimension.
+
auto SetNeonSliceData(const std::vector< unsigned int > &m_begin, const std::vector< unsigned int > &m_size)
+
std::vector< ITensorHandle * > m_Outputs
+ +
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 53 of file NeonSliceWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON.

+
54 {
55  ARMNN_SCOPED_PROFILING_EVENT_NEON("NeonSliceWorkload_Execute");
56  m_SliceFunction.run();
57 }
#define ARMNN_SCOPED_PROFILING_EVENT_NEON(name)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1