24.02
|
#include <ClLogSoftmaxWorkload.hpp>
Public Member Functions | |
ClLogSoftmaxWorkload (const LogSoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info, std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager, const arm_compute::CLCompileContext &clCompileContext) | |
void | Execute () const override |
Public Member Functions inherited from ClBaseWorkload< LogSoftmaxQueueDescriptor > | |
ClBaseWorkload (const LogSoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | ReplaceInputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
void | ReplaceOutputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
Public Member Functions inherited from BaseWorkload< LogSoftmaxQueueDescriptor > | |
BaseWorkload (const LogSoftmaxQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const LogSoftmaxQueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
virtual bool | SupportsTensorHandleReplacement () const override |
Public Member Functions inherited from IWorkload | |
virtual | ~IWorkload () |
virtual arm::pipe::ProfilingGuid | GetGuid () const =0 |
virtual bool | SupportsTensorHandleReplacement () const =0 |
virtual const std::string & | GetName () const =0 |
virtual void | RegisterDebugCallback (const DebugCallbackFunction &) |
virtual armnn::Optional< armnn::MemoryRequirements > | GetMemoryRequirements () |
Additional Inherited Members | |
Protected Member Functions inherited from ClBaseWorkload< LogSoftmaxQueueDescriptor > | |
virtual void | Reconfigure () |
Protected Attributes inherited from BaseWorkload< LogSoftmaxQueueDescriptor > | |
LogSoftmaxQueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 24 of file ClLogSoftmaxWorkload.hpp.
ClLogSoftmaxWorkload | ( | const LogSoftmaxQueueDescriptor & | descriptor, |
const WorkloadInfo & | info, | ||
std::shared_ptr< arm_compute::MemoryManagerOnDemand > & | memoryManager, | ||
const arm_compute::CLCompileContext & | clCompileContext | ||
) |
Definition at line 28 of file ClLogSoftmaxWorkload.cpp.
References ARMNN_REPORT_PROFILING_WORKLOAD_DESC, ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID, armnn::ComputeAclAxis(), armnn::info, SoftmaxDescriptor::m_Axis, SoftmaxDescriptor::m_Beta, BaseWorkload< LogSoftmaxQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, and QueueDescriptor::ValidateInputsOutputs().
|
overridevirtual |
Implements IWorkload.
Definition at line 54 of file ClLogSoftmaxWorkload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID, CHECK_LOCATION, and armnn::RunClFunction().