ArmNN
 24.02
NeonWorkloadUtils.hpp File Reference
Include dependency graph for NeonWorkloadUtils.hpp:
This graph shows which files directly or indirectly include this file:

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)
 
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID(label)
 Creates a profiling event that uses GetGuid() and GetName() from the calling class. More...
 

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, TensorInfo tensorInfo, const ITensorHandle *handle)
 
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)

◆ ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID

#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID (   name,
  guid 
)
Value:

Definition at line 24 of file NeonWorkloadUtils.hpp.

◆ ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID

#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID (   label)
Value:

Creates a profiling event that uses GetGuid() and GetName() from the calling class.

Definition at line 32 of file NeonWorkloadUtils.hpp.

ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid,...)
Definition: Profiling.hpp:217
armnn::EmptyOptional
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
armnn::Compute::CpuAcc
@ CpuAcc
CPU Execution: NEON: ArmCompute.
armnn::NeonTimer
Definition: NeonTimer.hpp:21
armnn::WallClockTimer
Definition: WallClockTimer.hpp:38