24.02
|
#include <NeonConvertFp32ToFp16Workload.hpp>
Public Member Functions | |
NeonConvertFp32ToFp16Workload (const ConvertFp32ToFp16QueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual void | Execute () const override |
void | ReplaceInputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
void | ReplaceOutputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
Public Member Functions inherited from MultiTypedWorkload< QueueDescriptor, InputDataType, OutputDataType > | |
MultiTypedWorkload (const QueueDescriptor &descriptor, const WorkloadInfo &info) | |
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 QueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
virtual bool | SupportsTensorHandleReplacement () const override |
Public Member Functions inherited from IWorkload | |
virtual | ~IWorkload () |
virtual void | RegisterDebugCallback (const DebugCallbackFunction &) |
virtual armnn::Optional< armnn::MemoryRequirements > | GetMemoryRequirements () |
Additional Inherited Members | |
Protected Attributes inherited from BaseWorkload< QueueDescriptor > | |
QueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 19 of file NeonConvertFp32ToFp16Workload.hpp.
NeonConvertFp32ToFp16Workload | ( | const ConvertFp32ToFp16QueueDescriptor & | descriptor, |
const WorkloadInfo & | info | ||
) |
Definition at line 31 of file NeonConvertFp32ToFp16Workload.cpp.
References armnn::GatherTensorHandlePairs(), armnn::info, BaseWorkload< QueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, and QueueDescriptor::ValidateInputsOutputs().
|
overridevirtual |
Implements IWorkload.
Definition at line 53 of file NeonConvertFp32ToFp16Workload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID, FloatingPointConverter::ConvertFloat32To16(), and armnn::CopyTensorContentsGeneric().
|
overridevirtual |
Reimplemented from BaseWorkload< QueueDescriptor >.
Definition at line 80 of file NeonConvertFp32ToFp16Workload.cpp.
References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.
|
overridevirtual |
Reimplemented from BaseWorkload< QueueDescriptor >.
Definition at line 97 of file NeonConvertFp32ToFp16Workload.cpp.
References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.