24.08
|
#include <RefElementwiseUnaryWorkload.hpp>
Public Member Functions | |
RefElementwiseUnaryWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | Execute () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
Public Member Functions inherited from RefBaseWorkload< ElementwiseUnaryQueueDescriptor > | |
RefBaseWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual bool | SupportsTensorHandleReplacement () const override |
void | ReplaceInputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
void | ReplaceOutputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
Public Member Functions inherited from BaseWorkload< ElementwiseUnaryQueueDescriptor > | |
BaseWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const ElementwiseUnaryQueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
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 Attributes inherited from BaseWorkload< ElementwiseUnaryQueueDescriptor > | |
ElementwiseUnaryQueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 16 of file RefElementwiseUnaryWorkload.hpp.
RefElementwiseUnaryWorkload | ( | const ElementwiseUnaryQueueDescriptor & | descriptor, |
const WorkloadInfo & | info | ||
) |
Definition at line 29 of file RefElementwiseUnaryWorkload.cpp.
References armnn::info.
|
overridevirtual |
Implements IWorkload.
Definition at line 34 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 39 of file RefElementwiseUnaryWorkload.cpp.
References RefElementwiseUnaryWorkload::Execute(), ExecutionData::m_Data, WorkingMemDescriptor::m_Inputs, and WorkingMemDescriptor::m_Outputs.