ArmNN
 24.08
RefPermuteWorkload< DataType > Class Template Reference

#include <RefPermuteWorkload.hpp>

Inheritance diagram for RefPermuteWorkload< DataType >:
[legend]
Collaboration diagram for RefPermuteWorkload< DataType >:
[legend]

Public Member Functions

void Execute () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
- Public Member Functions inherited from TypedWorkload< PermuteQueueDescriptor, DataType >
 TypedWorkload (const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info)
 
- Public Member Functions inherited from BaseWorkload< PermuteQueueDescriptor >
 BaseWorkload (const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual const std::string & GetName () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const PermuteQueueDescriptorGetData () const
 
arm::pipe::ProfilingGuid GetGuid () const final
 
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 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::MemoryRequirementsGetMemoryRequirements ()
 

Additional Inherited Members

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

Detailed Description

template<armnn::DataType DataType>
class armnn::RefPermuteWorkload< DataType >

Definition at line 16 of file RefPermuteWorkload.hpp.

Member Function Documentation

◆ Execute()

void Execute
overridevirtual

Implements IWorkload.

Definition at line 17 of file RefPermuteWorkload.cpp.

18 {
20 }

◆ ExecuteAsync()

void ExecuteAsync ( ExecutionData executionData)
overridevirtual

Implements IWorkload.

Definition at line 23 of file RefPermuteWorkload.cpp.

24 {
25  WorkingMemDescriptor* workingMemDescriptor = static_cast<WorkingMemDescriptor*>(executionData.m_Data);
26  Execute(workingMemDescriptor->m_Inputs, workingMemDescriptor->m_Outputs);
27 }

References ExecutionData::m_Data, WorkingMemDescriptor::m_Inputs, and WorkingMemDescriptor::m_Outputs.


The documentation for this class was generated from the following files:
armnn::QueueDescriptor::m_Outputs
std::vector< ITensorHandle * > m_Outputs
Definition: WorkloadData.hpp:27
armnn::BaseWorkload< PermuteQueueDescriptor >::m_Data
PermuteQueueDescriptor m_Data
Definition: Workload.hpp:89
armnn::RefPermuteWorkload::Execute
void Execute() const override
Definition: RefPermuteWorkload.cpp:17
armnn::QueueDescriptor::m_Inputs
std::vector< ITensorHandle * > m_Inputs
Definition: WorkloadData.hpp:26