20.02
|
#include <RefElementwiseUnaryWorkload.hpp>
Public Member Functions | |
RefElementwiseUnaryWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | PostAllocationConfigure () override |
void | Execute () const override |
Public Member Functions inherited from BaseWorkload< ElementwiseUnaryQueueDescriptor > | |
BaseWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
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 > | |
const 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 26 of file RefElementwiseUnaryWorkload.cpp.
|
overridevirtual |
Implements IWorkload.
Definition at line 41 of file RefElementwiseUnaryWorkload.cpp.
References armnn::Abs, ARMNN_SCOPED_PROFILING_EVENT, CHECK_LOCATION, armnn::CpuRef, armnn::Exp, TensorInfo::GetShape(), armnn::GetTensorInfo(), armnn::GetUnaryOperationAsCString(), BaseWorkload< ElementwiseUnaryQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, ElementwiseUnaryDescriptor::m_Operation, QueueDescriptor::m_Outputs, QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters, armnn::Neg, armnn::Rsqrt, and armnn::Sqrt.
|
overridevirtual |
Implements IWorkload.
Definition at line 31 of file RefElementwiseUnaryWorkload.cpp.
References armnn::GetTensorInfo(), BaseWorkload< ElementwiseUnaryQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, and QueueDescriptor::m_Outputs.