From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...assarmnn_1_1_neon_depth_to_space_workload.xhtml | 240 +++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 20.02/classarmnn_1_1_neon_depth_to_space_workload.xhtml (limited to '20.02/classarmnn_1_1_neon_depth_to_space_workload.xhtml') diff --git a/20.02/classarmnn_1_1_neon_depth_to_space_workload.xhtml b/20.02/classarmnn_1_1_neon_depth_to_space_workload.xhtml new file mode 100644 index 0000000000..4cb843e01f --- /dev/null +++ b/20.02/classarmnn_1_1_neon_depth_to_space_workload.xhtml @@ -0,0 +1,240 @@ + + + + + + + + + + + + + +ArmNN: NeonDepthToSpaceWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.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 33 of file NeonDepthToSpaceWorkload.cpp.

+ +

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

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

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 55 of file NeonDepthToSpaceWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON.

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