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_ref_softmax_workload.xhtml | 205 ++++++++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 20.02/classarmnn_1_1_ref_softmax_workload.xhtml (limited to '20.02/classarmnn_1_1_ref_softmax_workload.xhtml') diff --git a/20.02/classarmnn_1_1_ref_softmax_workload.xhtml b/20.02/classarmnn_1_1_ref_softmax_workload.xhtml new file mode 100644 index 0000000000..1404dab54c --- /dev/null +++ b/20.02/classarmnn_1_1_ref_softmax_workload.xhtml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + +ArmNN: RefSoftmaxWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
RefSoftmaxWorkload Class Reference
+
+
+ +

#include <RefSoftmaxWorkload.hpp>

+
+Inheritance diagram for RefSoftmaxWorkload:
+
+
+ + +BaseWorkload< SoftmaxQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + +

+Public Member Functions

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

Detailed Description

+
+

Definition at line 14 of file RefSoftmaxWorkload.hpp.

+

Member Function Documentation

+ +

◆ Execute()

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

Implements IWorkload.

+ +

Definition at line 20 of file RefSoftmaxWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT, armnn::CpuRef, armnn::GetTensorInfo(), SoftmaxDescriptor::m_Axis, SoftmaxDescriptor::m_Beta, BaseWorkload< SoftmaxQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and armnn::Softmax.

+
21 {
22  ARMNN_SCOPED_PROFILING_EVENT(Compute::CpuRef, "RefSoftmaxWorkload_Execute");
23 
24  const TensorInfo &inputTensorInfo = GetTensorInfo(m_Data.m_Inputs[0]);
25 
26  std::unique_ptr<Decoder<float>> decoderPtr = MakeDecoder<float>(inputTensorInfo, m_Data.m_Inputs[0]->Map());
27  Decoder<float> &decoder = *decoderPtr;
28 
29  const TensorInfo &outputTensorInfo = GetTensorInfo(m_Data.m_Outputs[0]);
30 
31  std::unique_ptr<Encoder<float>> encoderPtr = MakeEncoder<float>(outputTensorInfo, m_Data.m_Outputs[0]->Map());
32  Encoder<float> &encoder = *encoderPtr;
33 
34  Softmax(decoder,
35  encoder,
36  inputTensorInfo,
39 }
int m_Axis
Scalar, defaulted to the last index (-1), specifying the dimension the activation will be performed o...
+
CPU Execution: Reference C++ kernels.
+
const SoftmaxQueueDescriptor m_Data
Definition: Workload.hpp:46
+
float m_Beta
Exponentiation value.
+
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
+ +
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:169
+ +
std::vector< ITensorHandle * > m_Outputs
+
std::vector< ITensorHandle * > m_Inputs
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1