ArmNN
 23.02
RefSpaceToBatchNdWorkload Class Reference

#include <RefSpaceToBatchNdWorkload.hpp>

Inheritance diagram for RefSpaceToBatchNdWorkload:
RefBaseWorkload< SpaceToBatchNdQueueDescriptor > BaseWorkload< SpaceToBatchNdQueueDescriptor > IWorkload

Public Member Functions

void Execute () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
- Public Member Functions inherited from RefBaseWorkload< SpaceToBatchNdQueueDescriptor >
 RefBaseWorkload (const SpaceToBatchNdQueueDescriptor &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< SpaceToBatchNdQueueDescriptor >
 BaseWorkload (const SpaceToBatchNdQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const SpaceToBatchNdQueueDescriptorGetData () 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 void RegisterDebugCallback (const DebugCallbackFunction &)
 
virtual armnn::Optional< armnn::MemoryRequirementsGetMemoryRequirements ()
 

Additional Inherited Members

- Protected Attributes inherited from BaseWorkload< SpaceToBatchNdQueueDescriptor >
SpaceToBatchNdQueueDescriptor m_Data
 
const arm::pipe::ProfilingGuid m_Guid
 

Detailed Description

Definition at line 14 of file RefSpaceToBatchNdWorkload.hpp.

Member Function Documentation

◆ Execute()

◆ ExecuteAsync()

void ExecuteAsync ( ExecutionData executionData)
overridevirtual

Implements IWorkload.

Definition at line 20 of file RefSpaceToBatchNdWorkload.cpp.

21 {
22  WorkingMemDescriptor* workingMemDescriptor = static_cast<WorkingMemDescriptor*>(executionData.m_Data);
23  Execute(workingMemDescriptor->m_Inputs, workingMemDescriptor->m_Outputs);
24 }

References RefSpaceToBatchNdWorkload::Execute(), ExecutionData::m_Data, WorkingMemDescriptor::m_Inputs, and WorkingMemDescriptor::m_Outputs.


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