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_cl_reshape_workload.xhtml | 238 +++++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 20.02/classarmnn_1_1_cl_reshape_workload.xhtml (limited to '20.02/classarmnn_1_1_cl_reshape_workload.xhtml') diff --git a/20.02/classarmnn_1_1_cl_reshape_workload.xhtml b/20.02/classarmnn_1_1_cl_reshape_workload.xhtml new file mode 100644 index 0000000000..91400fc35e --- /dev/null +++ b/20.02/classarmnn_1_1_cl_reshape_workload.xhtml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + +ArmNN: ClReshapeWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClReshapeWorkload Class Reference
+
+
+ +

#include <ClReshapeWorkload.hpp>

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

+Public Member Functions

 ClReshapeWorkload (const ReshapeQueueDescriptor &descriptor, const WorkloadInfo &info)
 
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 18 of file ClReshapeWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ClReshapeWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
ClReshapeWorkload (const ReshapeQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 24 of file ClReshapeWorkload.cpp.

+ +

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

+
25  : BaseWorkload<ReshapeQueueDescriptor>(descriptor, info)
26 {
27  m_Data.ValidateInputsOutputs("ClReshapeWorkload", 1, 1);
28 
29  arm_compute::ICLTensor& input = static_cast<IClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
30  arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
31 
32  m_Layer.configure(&input, &output);
33 }
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 35 of file ClReshapeWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_CL, CHECK_LOCATION, and armnn::RunClFunction().

+
36 {
37  ARMNN_SCOPED_PROFILING_EVENT_CL("ClReshapeWorkload_Execute");
38  RunClFunction(m_Layer, CHECK_LOCATION());
39 }
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
+
#define CHECK_LOCATION()
Definition: Exceptions.hpp:192
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1