ArmNN
 22.05.01
NeonWorkloadUtils.hpp File Reference

Go to the source code of this file.

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Macros

#define ARMNN_SCOPED_PROFILING_EVENT_NEON(name)
 
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID(name, guid)
 

Functions

std::string GetConvolutionMethodString (arm_compute::ConvolutionMethod &convolutionMethod)
 
template<typename T >
void CopyArmComputeTensorData (arm_compute::Tensor &dstTensor, const T *srcData)
 
void InitializeArmComputeTensorData (arm_compute::Tensor &tensor, const ConstTensorHandle *handle)
 
auto SetNeonStridedSliceData (const std::vector< int > &m_begin, const std::vector< int > &m_end, const std::vector< int > &m_stride)
 
auto SetNeonSliceData (const std::vector< unsigned int > &m_begin, const std::vector< unsigned int > &m_size)
 
template<typename DataType , typename PayloadType >
DataType * GetOutputTensorData (unsigned int idx, const PayloadType &data)
 

Macro Definition Documentation

◆ ARMNN_SCOPED_PROFILING_EVENT_NEON

#define ARMNN_SCOPED_PROFILING_EVENT_NEON (   name)
Value:
name, \
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
CPU Execution: NEON: ArmCompute.
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid,...)
Definition: Profiling.hpp:217

Definition at line 17 of file NeonWorkloadUtils.hpp.

◆ ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID

#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID (   name,
  guid 
)
Value:
guid, \
name, \
CPU Execution: NEON: ArmCompute.
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid,...)
Definition: Profiling.hpp:217

Definition at line 24 of file NeonWorkloadUtils.hpp.

Referenced by NeonConvertBf16ToFp32Workload::Execute(), NeonConvertFp16ToFp32Workload::Execute(), NeonFillWorkload::Execute(), NeonConvertFp32ToBf16Workload::Execute(), NeonConvertFp32ToFp16Workload::Execute(), NeonPadWorkload::Execute(), NeonQuantizeWorkload::Execute(), NeonLogWorkload::Execute(), NeonExpWorkload::Execute(), NeonConstantWorkload::Execute(), NeonSinWorkload::Execute(), NeonSqrtWorkload::Execute(), NeonLogicalNotWorkload::Execute(), NeonAbsWorkload::Execute(), NeonNegWorkload::Execute(), NeonFloorFloatWorkload::Execute(), NeonCastWorkload::Execute(), NeonRsqrtWorkload::Execute(), NeonLstmFloatWorkload::Execute(), NeonActivationWorkload::Execute(), NeonPreluWorkload::Execute(), NeonQLstmWorkload::Execute(), NeonQuantizedLstmWorkload::Execute(), NeonResizeWorkload::Execute(), NeonGatherWorkload::Execute(), NeonStackWorkload::Execute(), NeonChannelShuffleWorkload::Execute(), NeonLogicalOrWorkload::Execute(), NeonArgMinMaxWorkload::Execute(), NeonMeanWorkload::Execute(), NeonReduceWorkload::Execute(), NeonLogicalAndWorkload::Execute(), NeonDepthToSpaceWorkload::Execute(), NeonSliceWorkload::Execute(), NeonMaximumWorkload::Execute(), NeonDequantizeWorkload::Execute(), NeonAdditionWorkload::Execute(), NeonGatherNdWorkload::Execute(), NeonSpaceToDepthWorkload::Execute(), NeonInstanceNormalizationWorkload::Execute(), NeonUnidirectionalSequenceLstmFloatWorkload::Execute(), NeonUnidirectionalSequenceLstmWorkload::Execute(), NeonComparisonWorkload::Execute(), NeonSplitterWorkload::Execute(), NeonMultiplicationWorkload::Execute(), NeonPooling3dWorkload::Execute(), NeonDivisionWorkload::Execute(), NeonReshapeWorkload::Execute(), NeonStridedSliceWorkload::Execute(), NeonSubtractionWorkload::Execute(), NeonNormalizationFloatWorkload::Execute(), NeonConcatWorkload::Execute(), NeonL2NormalizationFloatWorkload::Execute(), NeonSpaceToBatchNdWorkload::Execute(), NeonSoftmaxWorkload::Execute(), NeonLogSoftmaxWorkload::Execute(), NeonBatchToSpaceNdWorkload::Execute(), NeonPooling2dWorkload::Execute(), NeonDetectionPostProcessWorkload::Execute(), NeonFullyConnectedWorkload::Execute(), NeonTransposeWorkload::Execute(), NeonDepthwiseConvolutionWorkload::Execute(), NeonPermuteWorkload::Execute(), NeonBatchNormalizationWorkload::Execute(), NeonMinimumWorkload::Execute(), NeonTransposeConvolution2dWorkload::Execute(), NeonConvolution3dWorkload::Execute(), and NeonConvolution2dWorkload::Execute().