ArmNN
 24.02
TosaRefBaseWorkload< QueueDescriptor > Class Template Reference

#include <TosaRefBaseWorkload.hpp>

Inheritance diagram for TosaRefBaseWorkload< QueueDescriptor >:
[legend]
Collaboration diagram for TosaRefBaseWorkload< QueueDescriptor >:
[legend]

Public Member Functions

 TosaRefBaseWorkload (const QueueDescriptor &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< QueueDescriptor >
 BaseWorkload (const QueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual const std::string & GetName () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const QueueDescriptorGetData () const
 
arm::pipe::ProfilingGuid GetGuid () const final
 
- Public Member Functions inherited from IWorkload
virtual ~IWorkload ()
 
virtual void Execute () const =0
 
virtual void RegisterDebugCallback (const DebugCallbackFunction &)
 
virtual armnn::Optional< armnn::MemoryRequirementsGetMemoryRequirements ()
 

Additional Inherited Members

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

Detailed Description

template<typename QueueDescriptor>
class armnn::TosaRefBaseWorkload< QueueDescriptor >

Definition at line 14 of file TosaRefBaseWorkload.hpp.

Constructor & Destructor Documentation

◆ TosaRefBaseWorkload()

TosaRefBaseWorkload ( const QueueDescriptor descriptor,
const WorkloadInfo info 
)
inline

Definition at line 17 of file TosaRefBaseWorkload.hpp.

18  : BaseWorkload<QueueDescriptor>(descriptor, info)
19  {}

References armnn::info.

Member Function Documentation

◆ ReplaceInputTensorHandle()

void ReplaceInputTensorHandle ( ITensorHandle tensorHandle,
unsigned int  slot 
)
inlineoverridevirtual

Reimplemented from BaseWorkload< QueueDescriptor >.

Definition at line 27 of file TosaRefBaseWorkload.hpp.

28  {
29  this->m_Data.m_Inputs[slot] = tensorHandle;
30  }

References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.

◆ ReplaceOutputTensorHandle()

void ReplaceOutputTensorHandle ( ITensorHandle tensorHandle,
unsigned int  slot 
)
inlineoverridevirtual

Reimplemented from BaseWorkload< QueueDescriptor >.

Definition at line 33 of file TosaRefBaseWorkload.hpp.

34  {
35  this->m_Data.m_Outputs[slot] = tensorHandle;
36  }

References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Outputs.

◆ SupportsTensorHandleReplacement()

virtual bool SupportsTensorHandleReplacement ( ) const
inlineoverridevirtual

Reimplemented from BaseWorkload< QueueDescriptor >.

Definition at line 21 of file TosaRefBaseWorkload.hpp.

22  {
23  return true;
24  }

The documentation for this class was generated from the following file:
armnn::QueueDescriptor::m_Outputs
std::vector< ITensorHandle * > m_Outputs
Definition: WorkloadData.hpp:27
armnn::BaseWorkload::m_Data
QueueDescriptor m_Data
Definition: Workload.hpp:89
armnn::QueueDescriptor::m_Inputs
std::vector< ITensorHandle * > m_Inputs
Definition: WorkloadData.hpp:26