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

#include <NeonReshapeWorkload.hpp>

+
+Inheritance diagram for NeonReshapeWorkload:
+
+
+ + +BaseWorkload< ReshapeQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 22 of file NeonReshapeWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ NeonReshapeWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
NeonReshapeWorkload (const ReshapeQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 26 of file NeonReshapeWorkload.cpp.

+ +

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

+
28  : BaseWorkload<ReshapeQueueDescriptor>(descriptor, info)
29 {
30  m_Data.ValidateInputsOutputs("NeonReshapeWorkload", 1, 1);
31 
32  arm_compute::ITensor& input = boost::polymorphic_downcast<IAclTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
33  arm_compute::ITensor& output = boost::polymorphic_downcast<IAclTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
34 
35  auto layer = std::make_unique<arm_compute::NEReshapeLayer>();
36  layer->configure(&input, &output);
37  m_Layer.reset(layer.release());
38 }
const ReshapeQueueDescriptor 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 NeonReshapeWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_NEON.

+
41 {
42  ARMNN_SCOPED_PROFILING_EVENT_NEON("NeonReshapeWorkload_Execute");
43  m_Layer->run();
44 }
#define ARMNN_SCOPED_PROFILING_EVENT_NEON(name)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1