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

#include <NeonDepthToSpaceWorkload.hpp>

+
+Inheritance diagram for NeonDepthToSpaceWorkload:
+
+
+ + +BaseWorkload< DepthToSpaceQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 21 of file NeonDepthToSpaceWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NeonDepthToSpaceWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
NeonDepthToSpaceWorkload (const DepthToSpaceQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 32 of file NeonDepthToSpaceWorkload.cpp.

+ +

References BaseWorkload< DepthToSpaceQueueDescriptor >::m_Data, and QueueDescriptor::ValidateInputsOutputs().

+
34  : BaseWorkload<DepthToSpaceQueueDescriptor>(desc, info)
35 {
36  m_Data.ValidateInputsOutputs("NeonDepthToSpaceWorkload", 1, 1);
37 
38  arm_compute::DataLayout aclDataLayout = ConvertDataLayout(m_Data.m_Parameters.m_DataLayout);
39 
40  arm_compute::ITensor& input =
41  PolymorphicPointerDowncast<IAclTensorHandle>(m_Data.m_Inputs[0])->GetTensor();
42  input.info()->set_data_layout(aclDataLayout);
43 
44  int32_t blockSize = armnn::numeric_cast<int32_t>(desc.m_Parameters.m_BlockSize);
45 
46  arm_compute::ITensor& output =
47  PolymorphicPointerDowncast<IAclTensorHandle>(m_Data.m_Outputs[0])->GetTensor();
48  output.info()->set_data_layout(aclDataLayout);
49 
50  m_Layer.configure(&input, &output, blockSize);
51  m_Layer.prepare();
52 }
DataLayout
Definition: Types.hpp:50
+
const DepthToSpaceQueueDescriptor m_Data
Definition: Workload.hpp:46
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+ +
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
+
std::vector< ITensorHandle * > m_Outputs
+ +
std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)
Definition: NumericCast.hpp:35
+
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 54 of file NeonDepthToSpaceWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON.

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