ArmNN
 25.11
Loading...
Searching...
No Matches
RefElementwiseUnaryWorkload Class Reference

#include <RefElementwiseUnaryWorkload.hpp>

Inheritance diagram for RefElementwiseUnaryWorkload:
[legend]
Collaboration diagram for RefElementwiseUnaryWorkload:
[legend]

Public Member Functions

 RefElementwiseUnaryWorkload (const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute () const 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 PostAllocationConfigure () override
const ElementwiseUnaryQueueDescriptorGetData () const
arm::pipe::ProfilingGuid GetGuid () const final
Public Member Functions inherited from IWorkload
virtual ~IWorkload ()
virtual void RegisterDebugCallback (const DebugCallbackFunction &)
virtual armnn::Optional< armnn::MemoryRequirementsGetMemoryRequirements ()

Additional Inherited Members

Protected Attributes inherited from BaseWorkload< ElementwiseUnaryQueueDescriptor >
ElementwiseUnaryQueueDescriptor m_Data
const arm::pipe::ProfilingGuid m_Guid
const std::string m_Name

Detailed Description

Definition at line 16 of file RefElementwiseUnaryWorkload.hpp.

Constructor & Destructor Documentation

◆ RefElementwiseUnaryWorkload()

Definition at line 29 of file RefElementwiseUnaryWorkload.cpp.

31 : RefBaseWorkload<ElementwiseUnaryQueueDescriptor>(desc, info)
32{}

References armnn::info, and RefBaseWorkload< ElementwiseUnaryQueueDescriptor >::RefBaseWorkload().

Member Function Documentation

◆ Execute()

void Execute ( ) const
overridevirtual

Implements IWorkload.

Definition at line 34 of file RefElementwiseUnaryWorkload.cpp.

35{
36 Execute(m_Data.m_Inputs, m_Data.m_Outputs);
37}

References Execute(), and BaseWorkload< ElementwiseUnaryQueueDescriptor >::m_Data.

Referenced by Execute().


The documentation for this class was generated from the following files: