21.08
|
#include <RefElementwiseUnaryWorkload.hpp>
Public Member Functions | |
RefElementwiseUnaryWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | Execute () const override |
void | ExecuteAsync (WorkingMemDescriptor &workingMemDescriptor) override |
Public Member Functions inherited from BaseWorkload< ElementwiseUnaryQueueDescriptor > | |
BaseWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | ExecuteAsync (WorkingMemDescriptor &workingMemDescriptor) override |
void | PostAllocationConfigure () override |
const ElementwiseUnaryQueueDescriptor & | GetData () 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< ElementwiseUnaryQueueDescriptor > | |
ElementwiseUnaryQueueDescriptor | m_Data |
const profiling::ProfilingGuid | m_Guid |
Definition at line 16 of file RefElementwiseUnaryWorkload.hpp.
RefElementwiseUnaryWorkload | ( | const ElementwiseUnaryQueueDescriptor & | descriptor, |
const WorkloadInfo & | info | ||
) |
Definition at line 28 of file RefElementwiseUnaryWorkload.cpp.
|
overridevirtual |
Implements IWorkload.
Definition at line 33 of file RefElementwiseUnaryWorkload.cpp.
References BaseWorkload< ElementwiseUnaryQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, and QueueDescriptor::m_Outputs.
Referenced by RefElementwiseUnaryWorkload::ExecuteAsync().
|
overridevirtual |
Implements IWorkload.
Definition at line 38 of file RefElementwiseUnaryWorkload.cpp.
References armnn::Abs, ARMNN_SCOPED_PROFILING_EVENT, CHECK_LOCATION, armnn::CpuRef, RefElementwiseUnaryWorkload::Execute(), armnn::Exp, TensorInfo::GetShape(), armnn::GetTensorInfo(), armnn::GetUnaryOperationAsCString(), armnn::Log, BaseWorkload< ElementwiseUnaryQueueDescriptor >::m_Data, WorkingMemDescriptor::m_Inputs, ElementwiseUnaryDescriptor::m_Operation, WorkingMemDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, armnn::Neg, armnn::Rsqrt, armnn::Sin, and armnn::Sqrt.