Compute Library
 21.08
Error.h File Reference
#include <array>
#include <string>

Go to the source code of this file.

Data Structures

class  Status
 Status class. More...
 

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 

Macros

#define ARM_COMPUTE_UNUSED(...)   ::arm_compute::ignore_unused(__VA_ARGS__)
 To avoid unused variables warnings. More...
 
#define ARM_COMPUTE_CREATE_ERROR(error_code, msg)   arm_compute::create_error_msg(error_code, __func__, __FILE__, __LINE__, msg)
 Creates an error with a given message. More...
 
#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line, msg)   arm_compute::create_error_msg(error_code, func, file, line, msg)
 Creates an error on location with a given message. More...
 
#define ARM_COMPUTE_CREATE_ERROR_LOC_VAR(error_code, func, file, line, msg, ...)
 Creates an error on location with a given message. More...
 
#define ARM_COMPUTE_RETURN_ERROR_MSG(...)
 An error is returned with the given description. More...
 
#define ARM_COMPUTE_RETURN_ON_ERROR(status)
 Checks if a status contains an error and returns it. More...
 
#define ARM_COMPUTE_THROW_ON_ERROR(error)   error.throw_if_error();
 Checks if an error value is valid if not throws an exception with the error. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON_MSG_VAR(cond, msg, ...)
 If the condition is true, an error is returned. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON_MSG(cond, msg)
 If the condition is true, an error is returned. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG_VAR(cond, func, file, line, msg, ...)
 If the condition is true, an error is thrown. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(cond, func, file, line, msg)
 If the condition is true, an error is thrown. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON(cond)   ARM_COMPUTE_RETURN_ERROR_ON_MSG(cond, #cond)
 If the condition is true, an error is returned. More...
 
#define ARM_COMPUTE_RETURN_ERROR_ON_LOC(cond, func, file, line)   ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG(cond, func, file, line, #cond)
 If the condition is true, an error is returned. More...
 
#define ARM_COMPUTE_THROW_ERROR(func, file, line, msg)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_THROW_ERROR_VAR(func, file, line, msg, ...)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_ERROR_VAR(msg, ...)   ARM_COMPUTE_THROW_ERROR_VAR(__func__, __FILE__, __LINE__, msg, __VA_ARGS__)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_ERROR(msg)   ARM_COMPUTE_THROW_ERROR(__func__, __FILE__, __LINE__, msg)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_ERROR_LOC_VAR(func, file, line, msg, ...)   ARM_COMPUTE_THROW_ERROR_VAR(func, file, line, msg, __VA_ARGS__)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_ERROR_LOC(func, file, line, msg)   ARM_COMPUTE_THROW_ERROR(func, file, line, msg)
 Print the given message then throw an std::runtime_error. More...
 
#define ARM_COMPUTE_EXIT_ON_MSG(cond, msg)
 If the condition is true, the given message is printed and program exits. More...
 
#define ARM_COMPUTE_EXIT_ON_MSG_VAR(cond, msg, ...)
 If the condition is true, the given message is printed and program exits. More...
 
#define ARM_COMPUTE_ERROR_THROW_ON(status)
 
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
 
#define ARM_COMPUTE_ERROR_ON_MSG_VAR(cond, msg, ...)
 
#define ARM_COMPUTE_ERROR_ON_LOC_MSG(cond, func, file, line, ...)
 
#define ARM_COMPUTE_CONST_ON_ERROR(cond, val, msg)   val
 
#define ARM_COMPUTE_ERROR_ON(cond)   ARM_COMPUTE_ERROR_ON_MSG(cond, #cond)
 If the condition is true then an error message is printed and an exception thrown. More...
 
#define ARM_COMPUTE_ERROR_ON_LOC(cond, func, file, line)   ARM_COMPUTE_ERROR_ON_LOC_MSG(cond, func, file, line, "%s", #cond)
 If the condition is true then an error message is printed and an exception thrown. More...
 
#define ARM_COMPUTE_THROW(ex)   throw(ex)
 

Enumerations

enum  ErrorCode { OK, RUNTIME_ERROR, UNSUPPORTED_EXTENSION_USE }
 Available error codes. More...
 

Functions

template<typename... T>
void ignore_unused (T &&...)
 Ignores unused arguments. More...
 
Status create_error (ErrorCode error_code, std::string msg)
 Creates an error containing the error message. More...
 
Status create_error_msg (ErrorCode error_code, const char *func, const char *file, int line, const char *msg)
 Creates an error and the error message. More...
 
void throw_error (Status err)
 Throw an std::runtime_error. More...
 

Macro Definition Documentation

◆ ARM_COMPUTE_CONST_ON_ERROR

#define ARM_COMPUTE_CONST_ON_ERROR (   cond,
  val,
  msg 
)    val

Definition at line 459 of file Error.h.

◆ ARM_COMPUTE_CREATE_ERROR

#define ARM_COMPUTE_CREATE_ERROR (   error_code,
  msg 
)    arm_compute::create_error_msg(error_code, __func__, __FILE__, __LINE__, msg)

Creates an error with a given message.

Parameters
[in]error_codeError code.
[in]msgMessage to encapsulate.

Definition at line 159 of file Error.h.

Referenced by NENodeValidator::validate(), CpuGemmLowpOutputStage::validate(), and ClGemmLowpOutputStage::validate().

◆ ARM_COMPUTE_CREATE_ERROR_LOC

#define ARM_COMPUTE_CREATE_ERROR_LOC (   error_code,
  func,
  file,
  line,
  msg 
)    arm_compute::create_error_msg(error_code, func, file, line, msg)

Creates an error on location with a given message.

Parameters
[in]error_codeError code.
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgMessage to display before aborting.

Definition at line 169 of file Error.h.

Referenced by arm_compute::error_on_unsupported_int64_base_atomics().

◆ ARM_COMPUTE_CREATE_ERROR_LOC_VAR

#define ARM_COMPUTE_CREATE_ERROR_LOC_VAR (   error_code,
  func,
  file,
  line,
  msg,
  ... 
)
Value:
do \
{ \
std::array<char, 512> out{ 0 }; \
int offset = snprintf(out.data(), out.size(), "in %s %s:%d: ", func, file, line); \
snprintf(out.data() + offset, out.size() - offset, msg, __VA_ARGS__); \
arm_compute::create_error(error_code, std::string(out.data())); \
} while(false)
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
Definition: helpers.h:861
Status create_error(ErrorCode error_code, std::string msg)
Creates an error containing the error message.
Definition: Error.cpp:34
int snprintf(char *s, std::size_t n, const char *fmt, Ts &&... args)
Loads the data from the given location, converts them to character string equivalents and writes the ...

Creates an error on location with a given message.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]error_codeError code.
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 181 of file Error.h.

◆ ARM_COMPUTE_ERROR

#define ARM_COMPUTE_ERROR (   msg)    ARM_COMPUTE_THROW_ERROR(__func__, __FILE__, __LINE__, msg)

Print the given message then throw an std::runtime_error.

Parameters
[in]msgMessage to display.

Definition at line 352 of file Error.h.

Referenced by NumPyAccessor::access_tensor(), ValidationOutputAccessor::access_tensor(), DetectionOutputAccessor::access_tensor(), TopNPredictionsAccessor::access_tensor(), RandomAccessor::access_tensor(), arm_compute::test::validation::reference::activate_float(), arm_compute::cpu::bilinear_neon_scale(), OperatorTensor::buffer(), arm_compute::utils::calculate_convolution_padding(), arm_compute::calculate_valid_region_scale(), arm_compute::channel_idx_from_format(), arm_compute::check_value_range(), arm_compute::test::validation::reference::compute_reduction_operation(), arm_compute::test::validation::reference::concatenate_layer(), CpuScale::configure(), ClElementWiseUnaryKernel::configure(), CpuConcatenateBatchKernel::configure(), CpuQuantizeKernel::configure(), ClPool2dKernel::configure(), ClPool2d::configure(), CpuScaleKernel::configure(), CpuConcatenate::configure(), CpuGemmMatrixAdditionKernel::configure(), CpuDirectConv2dOutputStageKernel::configure(), CpuConcatenateDepthKernel::configure(), CpuDepthwiseConv2d::configure(), CpuGemmLowpMatrixAReductionKernel::configure(), CpuGemmMatrixMultiplyKernel::configure(), ClConcatenate::configure(), CpuPool2d::configure(), CLRemapKernel::configure(), NEInstanceNormalizationLayerKernel::configure(), CLBitwiseKernel::configure(), NEFFTDigitReverseKernel::configure(), CpuDepthwiseConv2dNativeKernel::configure(), CPPPermuteKernel::configure(), NENormalizationLayerKernel::configure(), NEPadLayerKernel::configure(), NERangeKernel::configure(), NERemapKernel::configure(), NEFFTRadixStageKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), CpuGemmLowpQuantizeDownInt32ScaleKernel::configure(), NEGatherKernel::configure(), CpuMulKernel::configure(), CLReductionOperationKernel::configure(), NECropKernel::configure(), CLPadLayerKernel::configure(), CpuGemmLowpOutputStage::configure(), CLL2NormalizeLayerKernel::configure(), ClGemmLowpOutputStage::configure(), CpuWinogradConv2d::configure(), NEScale::configure(), CLFillBorderKernel::configure(), CLArgMinMaxLayerKernel::configure(), CpuIm2ColKernel::configure(), CLDeconvolutionLayer::configure(), NEDepthwiseConvolutionLayer::configure(), NEPadLayer::configure(), ClGemm::configure(), CpuConv2d::configure(), CpuGemmLowpMatrixMultiplyCore::configure(), ClConv2d::configure(), CpuGemmLowpMatrixBReductionKernel::configure(), NEConvolutionLayer::configure(), CLConvolutionLayer::configure(), DetectionPostProcessLayerNode::configure_output(), GenerateProposalsLayerNode::configure_output(), CLGEMMKernelSelectionFactory::create(), ClGemmReshapedKernelConfigurationFactory::create(), ClGemmReshapedOnlyRhsKernelConfigurationFactory::create(), SchedulerFactory::create(), ClGemmNativeKernelConfigurationFactory::create(), arm_compute::graph::create_default_pass_manager(), arm_compute::graph::backends::detail::create_eltwise_layer(), arm_compute::create_image2d_from_buffer(), arm_compute::graph::backends::detail::create_unary_eltwise_layer(), arm_compute::data_size_from_type(), arm_compute::data_type_from_format(), arm_compute::element_size_from_data_type(), arm_compute::cpu::elementwise_arithm_op(), arm_compute::cpu::elementwise_arithm_op_scalar(), arm_compute::cpu::elementwise_comp_op(), arm_compute::cpu::elementwise_comp_op_scalar(), arm_compute::cpu::elementwise_op_imp(), arm_compute::cpu::elementwise_op_scalar_imp(), arm_compute::test::validation::reference::elementwise_unary(), NPYLoader::fill_tensor(), AssetsLibrary::fill_tensor_uniform(), AssetsLibrary::fill_tensor_uniform_ranged(), GraphManager::finalize_graph(), arm_compute::cpu::fp32_neon_activation(), Scheduler::get(), arm_compute::test::validation::get_activation_layer_test_bounds(), arm_compute::get_cl_dot8_acc_type_from_data_type(), arm_compute::get_cl_promoted_type_from_data_type(), arm_compute::get_cl_select_type_from_data_type(), arm_compute::get_cl_signed_type_from_element_size(), arm_compute::get_cl_type_from_data_type(), arm_compute::get_cl_unsigned_type_from_element_size(), arm_compute::get_data_layout_dimension_index(), arm_compute::get_data_size_from_data_type(), arm_compute::graph::get_default_target(), arm_compute::graph::get_dimension_idx(), arm_compute::get_index_data_layout_dimension(), arm_compute::detail::get_input_num_elems_processed(), arm_compute::get_min_max(), arm_compute::quantization::get_min_max_values_from_quantized_data_type(), arm_compute::softmax_helpers::get_permutation_vector_from_softmax_axis(), arm_compute::get_promoted_data_type(), arm_compute::test::validation::get_tile(), arm_compute::utils::get_typestring(), arm_compute::test::get_typestring(), arm_compute::utils::get_verify_accessor(), arm_compute::has_padding_changed(), SchedulerClock< output_timestamps >::id(), arm_compute::test::validation::reference::im2col(), arm_compute::test::validation::reference::l2_normalize(), MaliCounter::MaliCounter(), SchedulerClock< output_timestamps >::measurements(), arm_compute::num_planes_from_format(), IScheduler::num_threads_hint(), OpenCLClock< output_timestamps >::OpenCLClock(), arm_compute::graph::operator<<(), arm_compute::operator<<(), arm_compute::test::validation::reference::pad_layer(), arm_compute::pixel_size_from_format(), arm_compute::test::validation::reference::pixel_wise_multiplication(), arm_compute::plane_idx_from_channel(), PMUCounter::PMUCounter(), CpuScale::prepare(), CpuDepthwiseConv2d::prepare(), NEDepthwiseConvolutionLayer::prepare(), CaffePreproccessor::preprocess(), TFPreproccessor::preprocess(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), arm_compute::test::validation::reference::quantization_layer(), arm_compute::test::validation::reference::remap(), arm_compute::round(), arm_compute::utils::rounding::round(), ICPPKernel::run(), ICLOperator::run(), INEOperator::run(), CpuConcatenate::run(), NEROIPoolingLayerKernel::run(), ClConcatenate::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), CpuPool2d::run(), NEReverseKernel::run(), NEChannelShuffleLayerKernel::run(), NEComputeAllAnchorsKernel::run(), CPPTopKVKernel::run(), CLRemapKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), NEFillBorderKernel::run(), CpuDepthwiseConv2d::run(), NEBoundingBoxTransformKernel::run(), CLReductionOperationKernel::run(), NEROIAlignLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLArgMinMaxLayerKernel::run(), ClGemm::run(), NEPadLayer::run(), NEDepthwiseConvolutionLayer::run(), CpuTransposeKernel::run_op(), CpuDequantizeKernel::run_op(), CpuReshapeKernel::run_op(), CpuPermuteKernel::run_op(), CpuPool2dKernel::run_op(), ClPool2dKernel::run_op(), ClScaleKernel::run_op(), CpuDirectConv2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuCastKernel::run_op(), arm_compute::save_program_cache_to_file(), arm_compute::utils::save_to_ppm(), arm_compute::test::validation::reference::scale_core(), arm_compute::scaled_dimensions(), arm_compute::scaled_dimensions_signed(), CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), CLGEMMDefaultTypeMidgard::select_kernel(), arm_compute::select_preferable_platform(), CLCompileContext::set_context(), IScheduler::set_num_threads_with_affinity(), arm_compute::test::store_value_with_data_type(), arm_compute::string_from_pixel_value(), arm_compute::to_string(), CpuElementwiseUnaryKernel::validate(), CpuConcatenate::validate(), CpuDepthwiseConv2d::validate(), ClConcatenate::validate(), CLDeconvolutionLayer::validate(), NEPadLayer::validate(), CpuArithmeticKernel::validate(), CpuConv2d::validate(), ClConv2d::validate(), NEConvolutionLayer::validate(), CLConvolutionLayer::validate(), CpuComparisonKernel::validate(), arm_compute::graph::backends::detail::validate_eltwise_Layer(), arm_compute::graph::backends::detail::validate_unary_eltwise_layer(), WallClock< output_timestamps >::WallClock(), arm_compute::test::validation::zeros(), and MaliCounter::~MaliCounter().

◆ ARM_COMPUTE_ERROR_LOC

#define ARM_COMPUTE_ERROR_LOC (   func,
  file,
  line,
  msg 
)    ARM_COMPUTE_THROW_ERROR(func, file, line, msg)

Print the given message then throw an std::runtime_error.

Parameters
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgMessage to display.

Definition at line 372 of file Error.h.

Referenced by arm_compute::error_on_channel_not_in_known_format().

◆ ARM_COMPUTE_ERROR_LOC_VAR

#define ARM_COMPUTE_ERROR_LOC_VAR (   func,
  file,
  line,
  msg,
  ... 
)    ARM_COMPUTE_THROW_ERROR_VAR(func, file, line, msg, __VA_ARGS__)

Print the given message then throw an std::runtime_error.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 363 of file Error.h.

◆ ARM_COMPUTE_ERROR_ON

#define ARM_COMPUTE_ERROR_ON (   cond)    ARM_COMPUTE_ERROR_ON_MSG(cond, #cond)

If the condition is true then an error message is printed and an exception thrown.

Parameters
[in]condCondition to evaluate.

Definition at line 466 of file Error.h.

Referenced by NumPyAccessor::access_tensor(), TopNPredictionsAccessor::access_tensor(), AccessWindowHorizontal::AccessWindowHorizontal(), AccessWindowVertical::AccessWindowVertical(), MemoryGroup::acquire(), BlobMemoryPool::acquire(), OffsetMemoryPool::acquire(), ICLKernel::add_array_argument(), Graph::add_connection(), GraphBuilder::add_convolution_node(), GraphBuilder::add_deconvolution_node(), Logger::add_decorator(), GraphBuilder::add_depthwise_convolution_node(), GraphBuilder::add_fully_connected_layer(), arm_compute::test::validation::add_padding_x(), arm_compute::test::validation::add_padding_y(), Logger::add_printer(), ICLKernel::add_tensor_argument(), Window::adjust(), arm_compute::adjust_down(), arm_compute::adjust_up(), arm_compute::adjust_vec_size(), AllocatorWrapper::aligned_alloc(), AllocatorWrapper::aligned_free(), arm_compute::graph::detail::all_inputs_are_visited(), AllocatorWrapper::alloc(), ArrayAccessor< T >::at(), CLArrayAccessor< T >::at(), IArray< T >::at(), SubTensorInfo::auto_padding(), TensorInfo::auto_padding(), arm_compute::test::validation::reference::batch_to_space(), arm_compute::graph::bfs(), BlobMemoryPool::BlobMemoryPool(), arm_compute::test::validation::reference::bounding_box_transform(), SubTensor::buffer(), arm_compute::misc::shape_calculator::calculate_concatenate_shape(), arm_compute::scale_utils::calculate_resize_ratio(), arm_compute::calculate_same_pad(), arm_compute::misc::shape_calculator::calculate_unstack_shape(), arm_compute::graph::detail::call_all_tasks(), arm_compute::graph::detail::call_tensor_accessor(), arm_compute::ceil_to_multiple(), CLArray< cl_int >::cl_buffer(), CLSubTensor::cl_buffer(), arm_compute::cl_winograd_convolution_layer_supported(), SubTensorInfo::clone(), JPEGLoader::close(), CLQLSTMLayer::CLQLSTMLayer(), CLSubTensor::CLSubTensor(), CLSubTensorHandle::CLSubTensorHandle(), Dimensions< size_t >::collapse(), Window::collapse(), Dimensions< size_t >::collapse_from(), arm_compute::colorconvert_iyuv_to_nv12(), arm_compute::colorconvert_iyuv_to_rgb(), arm_compute::colorconvert_iyuv_to_yuv4(), arm_compute::colorconvert_nv12_to_iyuv(), arm_compute::colorconvert_nv12_to_rgb(), arm_compute::colorconvert_nv12_to_yuv4(), arm_compute::colorconvert_rgb_to_iyuv(), arm_compute::colorconvert_rgb_to_nv12(), arm_compute::colorconvert_rgb_to_rgbx(), arm_compute::colorconvert_rgb_to_u8(), arm_compute::colorconvert_rgb_to_yuv4(), arm_compute::colorconvert_rgbx_to_rgb(), arm_compute::colorconvert_yuyv_to_iyuv(), arm_compute::colorconvert_yuyv_to_nv12(), arm_compute::colorconvert_yuyv_to_rgb(), arm_compute::test::validation::compare_dimensions(), arm_compute::misc::shape_calculator::compute_batch_to_space_shape(), arm_compute::misc::shape_calculator::compute_col2im_shape(), arm_compute::misc::shape_calculator::compute_depth_to_space_shape(), arm_compute::misc::shape_calculator::compute_gather_shape(), arm_compute::misc::shape_calculator::compute_im2col_conv_shape(), arm_compute::misc::shape_calculator::compute_interleaved_shape(), arm_compute::misc::shape_calculator::compute_lhs_reshaped_shape(), arm_compute::test::validation::reference::compute_min_max(), ConcatenateLayerNode::compute_output_descriptor(), StackLayerNode::compute_output_descriptor(), ReorgLayerNode::compute_output_descriptor(), arm_compute::misc::shape_calculator::compute_output_stage_shape(), arm_compute::misc::shape_calculator::compute_reorg_output_shape(), arm_compute::misc::shape_calculator::compute_rhs_reshaped_shape(), arm_compute::misc::shape_calculator::compute_space_to_batch_shape(), arm_compute::misc::shape_calculator::compute_stack_shape(), arm_compute::misc::shape_calculator::compute_transpose1xW_with_element_size_shape(), arm_compute::misc::shape_calculator::compute_unpool_shape(), arm_compute::misc::shape_calculator::compute_weights_reshaped_shape(), ClDequantizeKernel::configure(), ClFloorKernel::configure(), ClReshapeKernel::configure(), ClTransposeKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CpuPool2dKernel::configure(), ClScaleKernel::configure(), ClWidthConcatenateKernel::configure(), ClActivationKernel::configure(), ClHeightConcatenateKernel::configure(), CpuDepthwiseConv2dAssemblyDispatch::configure(), ClPool2dKernel::configure(), CpuElementwiseUnaryKernel::configure(), ClQuantizeKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClPermuteKernel::configure(), CLStridedSliceKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), CpuConcatenate::configure(), ClConvertFullyConnectedWeightsKernel::configure(), ClGemmLowpMatrixMultiplyNativeKernel::configure(), ClGemmReshapeLhsMatrixKernel::configure(), ClConcatenate::configure(), ClGemmMatrixMultiplyNativeKernel::configure(), CpuPool2d::configure(), ClWinogradFilterTransformKernel::configure(), ClWinogradInputTransformKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), CLBitwiseKernel::configure(), CLChannelShuffleLayerKernel::configure(), CLReverseKernel::configure(), CLSelectKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), ClWinogradOutputTransformKernel::configure(), CLBatchToSpaceLayerKernel::configure(), CLDepthToSpaceLayerKernel::configure(), CLSpaceToDepthLayerKernel::configure(), ClCastKernel::configure(), ClLogits1DMaxShiftExpSumKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), CLComputeAllAnchorsKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleKernel::configure(), ClGemmMatrixMultiplyKernel::configure(), NEROIPoolingLayerKernel::configure(), CLFFTScaleKernel::configure(), CLGatherKernel::configure(), CLNormalizationLayerKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLSpaceToBatchLayerKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), ClGemmLowpMatrixMultiplyReshapedKernel::configure(), NEGatherKernel::configure(), CLFFTDigitReverseKernel::configure(), CLReorgLayerKernel::configure(), ClGemmLowpOffsetContributionOutputStageKernel::configure(), ClGemmLowpOffsetContributionKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CLRangeKernel::configure(), CLReductionOperationKernel::configure(), CLPadLayerKernel::configure(), CLFFTRadixStageKernel::configure(), CLL2NormalizeLayerKernel::configure(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::configure(), CLBoundingBoxTransformKernel::configure(), ClMulKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLFillBorderKernel::configure(), CLROIPoolingLayerKernel::configure(), ClGemmLowpMatrixAReductionKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), NEConcatenateLayer::configure(), NEDepthConvertLayer::configure(), CpuDirectConv2d::configure(), ClWeightsReshapeKernel::configure(), NEFillBorderKernel::configure(), NEFFT1D::configure(), CLArgMinMaxLayerKernel::configure(), CLROIAlignLayerKernel::configure(), ClIm2ColKernel::configure(), CLDeconvolutionReshapeOutputKernel::configure(), CLBatchNormalizationLayerKernel::configure(), CLFuseBatchNormalizationKernel::configure(), CLFFT1D::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), CLNormalizationLayer::configure(), CLConcatenateLayer::configure(), CLDepthConvertLayer::configure(), ClComplexMulKernel::configure(), ClLogits1DNormKernel::configure(), CLComputeMeanVariance::configure(), ClGemmLowpMatrixBReductionKernel::configure(), ClConv2d::configure(), CLDirectDeconvolutionLayer::configure(), ClSaturatedArithmeticKernel::configure(), ClArithmeticKernel::configure(), arm_compute::opencl::kernels::gemm::configure_lhs_rhs_info(), NEDeviceBackend::configure_node(), CLDeviceBackend::configure_node(), FlattenLayerNode::configure_output(), NormalizePlanarYUVLayerNode::configure_output(), PReluLayerNode::configure_output(), ReshapeLayerNode::configure_output(), DequantizationLayerNode::configure_output(), ChannelShuffleLayerNode::configure_output(), DetectionPostProcessLayerNode::configure_output(), NormalizationLayerNode::configure_output(), SoftmaxLayerNode::configure_output(), BoundingBoxTransformLayerNode::configure_output(), GenerateProposalsLayerNode::configure_output(), ActivationLayerNode::configure_output(), DummyNode::configure_output(), PermuteLayerNode::configure_output(), QuantizationLayerNode::configure_output(), ResizeLayerNode::configure_output(), DepthToSpaceLayerNode::configure_output(), PadLayerNode::configure_output(), ReductionLayerNode::configure_output(), ROIAlignLayerNode::configure_output(), DetectionOutputLayerNode::configure_output(), PoolingLayerNode::configure_output(), PriorBoxLayerNode::configure_output(), ReorgLayerNode::configure_output(), StackLayerNode::configure_output(), BatchNormalizationLayerNode::configure_output(), DeconvolutionLayerNode::configure_output(), ArgMinMaxLayerNode::configure_output(), PrintLayerNode::configure_output(), SliceLayerNode::configure_output(), L2NormalizeLayerNode::configure_output(), SplitLayerNode::configure_output(), ConcatenateLayerNode::configure_output(), EltwiseLayerNode::configure_output(), StridedSliceLayerNode::configure_output(), FullyConnectedLayerNode::configure_output(), DepthwiseConvolutionLayerNode::configure_output(), ConvolutionLayerNode::configure_output(), UnaryEltwiseLayerNode::configure_output(), FusedDepthwiseConvolutionBatchNormalizationNode::configure_output(), FusedConvolutionBatchNormalizationNode::configure_output(), CLScheduler::context(), ContextSchedulerUser::ContextSchedulerUser(), arm_compute::test::validation::reference::convolution_layer_nchw(), arm_compute::detail::convolve_3x3(), arm_compute::detail::convolve_3x3_dilation(), ITensor::copy_from(), arm_compute::graph::backends::detail::create_concatenate_layer(), arm_compute::graph::backends::detail::create_depth_to_space_layer(), arm_compute::graph::backends::detail::create_dequantization_layer(), arm_compute::graph::backends::detail::create_detection_output_layer(), arm_compute::graph::backends::detail::create_detection_output_layer< CPPDetectionOutputLayer, CLTargetInfo >(), arm_compute::graph::backends::detail::create_detection_post_process_layer(), arm_compute::graph::backends::detail::create_detection_post_process_layer< CPPDetectionPostProcessLayer, CLTargetInfo >(), arm_compute::graph::backends::detail::create_eltwise_layer(), arm_compute::graph::backends::detail::create_flatten_layer(), arm_compute::graph::backends::detail::create_fully_connected_layer(), arm_compute::graph::backends::detail::create_generate_proposals_layer(), arm_compute::graph::backends::detail::create_l2_normalize_layer(), BatchNormalizationLayer::create_layer(), DetectionPostProcessLayer::create_layer(), FullyConnectedLayer::create_layer(), NormalizePlanarYUVLayer::create_layer(), arm_compute::graph::backends::detail::create_normalization_layer(), arm_compute::graph::backends::detail::create_normalization_layer< NENormalizationLayer, NETargetInfo >(), arm_compute::graph::backends::detail::create_normalize_planar_yuv_layer(), arm_compute::create_opencl_context_and_device(), arm_compute::graph::backends::detail::create_pad_layer(), arm_compute::graph::backends::detail::create_permute_layer(), OffsetLifetimeManager::create_pool(), BlobLifetimeManager::create_pool(), arm_compute::graph::backends::detail::create_pooling_layer(), arm_compute::graph::backends::detail::create_prelu_layer(), arm_compute::graph::backends::detail::create_print_layer(), arm_compute::graph::backends::detail::create_priorbox_layer(), arm_compute::graph::backends::detail::create_quantization_layer(), arm_compute::graph::backends::detail::create_reduction_operation_layer(), arm_compute::graph::backends::detail::create_reorg_layer(), arm_compute::graph::backends::detail::create_reshape_layer(), arm_compute::graph::backends::detail::create_resize_layer(), arm_compute::graph::backends::detail::create_roi_align_layer(), arm_compute::graph::backends::detail::create_slice_layer(), arm_compute::graph::backends::detail::create_softmax_layer(), arm_compute::graph::backends::detail::create_stack_layer(), arm_compute::graph::backends::detail::create_strided_slice_layer(), NEDeviceBackend::create_tensor(), CLDeviceBackend::create_tensor(), arm_compute::graph::backends::detail::create_unary_eltwise_layer(), arm_compute::test::validation::reference::crop_and_resize(), SubTensorInfo::data_layout(), SubTensorInfo::data_type(), arm_compute::test::validation::reference::deconvolution_layer(), arm_compute::deconvolution_output_dimensions(), arm_compute::scale_helpers::delta_bilinear_c1_quantized(), arm_compute::test::validation::reference::depth_convert(), arm_compute::test::validation::reference::depth_to_space(), arm_compute::test::validation::reference::depthconcatenate_layer(), arm_compute::test::validation::reference::dequantization_layer(), arm_compute::graph::dfs(), arm_compute::test::validation::reference::dft_2d(), SubTensorInfo::dimension(), BlobMemoryPool::duplicate(), OffsetMemoryPool::duplicate(), SubTensorInfo::element_size(), ISimpleLifetimeManager::end_lifetime(), arm_compute::enqueue(), arm_compute::execute_window_loop(), SubTensorInfo::extend_padding(), TensorInfo::extend_padding(), IImageLoader::fill_image(), IImageLoader::fill_planar_tensor(), NPYLoader::fill_tensor(), VerifyAccessor< D >::fill_tensor(), AssetsLibrary::fill_tensor_uniform(), arm_compute::utils::fill_tensor_vector(), arm_compute::test::fill_tensors(), GraphContext::finalize(), MemoryGroup::finalize_memory(), BackendRegistry::find_backend(), arm_compute::floor_to_multiple(), arm_compute::test::validation::for(), SubTensorInfo::format(), PReluLayerNode::forward_descriptors(), FlattenLayerNode::forward_descriptors(), NormalizePlanarYUVLayerNode::forward_descriptors(), InputNode::forward_descriptors(), ConstNode::forward_descriptors(), ReshapeLayerNode::forward_descriptors(), DequantizationLayerNode::forward_descriptors(), ChannelShuffleLayerNode::forward_descriptors(), NormalizationLayerNode::forward_descriptors(), DetectionPostProcessLayerNode::forward_descriptors(), SoftmaxLayerNode::forward_descriptors(), GenerateProposalsLayerNode::forward_descriptors(), BoundingBoxTransformLayerNode::forward_descriptors(), DummyNode::forward_descriptors(), ResizeLayerNode::forward_descriptors(), QuantizationLayerNode::forward_descriptors(), ActivationLayerNode::forward_descriptors(), PermuteLayerNode::forward_descriptors(), DepthToSpaceLayerNode::forward_descriptors(), PadLayerNode::forward_descriptors(), ReductionLayerNode::forward_descriptors(), ROIAlignLayerNode::forward_descriptors(), ReorgLayerNode::forward_descriptors(), DetectionOutputLayerNode::forward_descriptors(), PoolingLayerNode::forward_descriptors(), PriorBoxLayerNode::forward_descriptors(), StackLayerNode::forward_descriptors(), BatchNormalizationLayerNode::forward_descriptors(), DeconvolutionLayerNode::forward_descriptors(), ArgMinMaxLayerNode::forward_descriptors(), SliceLayerNode::forward_descriptors(), PrintLayerNode::forward_descriptors(), L2NormalizeLayerNode::forward_descriptors(), SplitLayerNode::forward_descriptors(), ConcatenateLayerNode::forward_descriptors(), EltwiseLayerNode::forward_descriptors(), StridedSliceLayerNode::forward_descriptors(), FullyConnectedLayerNode::forward_descriptors(), DepthwiseConvolutionLayerNode::forward_descriptors(), ConvolutionLayerNode::forward_descriptors(), UnaryEltwiseLayerNode::forward_descriptors(), FusedDepthwiseConvolutionBatchNormalizationNode::forward_descriptors(), FusedConvolutionBatchNormalizationNode::forward_descriptors(), CLBufferAllocator::free(), AllocatorWrapper::free(), arm_compute::test::validation::reference::fully_connected_layer(), arm_compute::graph::detail::fuse_convolution_with_batch_normalization(), arm_compute::graph::detail::fuse_depthwise_convolution_with_batch_normalization(), arm_compute::graph::detail::fuse_node_with_activation(), arm_compute::test::validation::reference::gemm_reshape_lhs_matrix(), arm_compute::test::validation::reference::gemm_reshape_rhs_matrix(), arm_compute::graph::backends::detail::get_backing_tensor(), arm_compute::graph::get_driving_nodes(), arm_compute::quantization::get_invsqrt_quantized_multiplier_exp(), FileImageFeeder::get_row(), MemoryImageFeeder::get_row(), arm_compute::test::validation::get_tile(), SubTensorInfo::has_padding(), arm_compute::test::validation::reference::im2col_nchw(), arm_compute::test::validation::reference::im2col_nhwc(), Iterator::increment(), Dimensions< size_t >::increment(), CpuFloorKernel::infer_window(), TensorAllocator::init(), TensorInfo::init(), TensorInfo::init_auto_padding(), IImageLoader::init_image(), NPYLoader::init_tensor(), INode::input(), INode::input_edge(), INode::input_edge_id(), INode::input_id(), Window::is_broadcasted(), SubTensorInfo::is_dynamic(), SubTensorInfo::is_resizable(), Iterator::Iterator(), Framework::log_failed_expectation(), Logger::Logger(), MemoryGroup::manage(), CLTensorAllocator::map(), CLBufferMemoryRegion::map(), CLCoarseSVMMemoryRegion::map(), OffsetLifetimeManager::mapping_type(), BlobLifetimeManager::mapping_type(), arm_compute::test::validation::matrix_multiply(), arm_compute::test::validation::reference::max_unpooling_layer_internal(), SchedulerClock< output_timestamps >::measurements(), InPlaceOperationMutator::mutate(), NodeFusionMutator::mutate(), GroupedConvolutionMutator::mutate(), NESubTensorHandle::NESubTensorHandle(), SubTensorInfo::num_channels(), SubTensorInfo::offset_first_element_in_bytes(), OffsetMemoryPool::OffsetMemoryPool(), FileHandler::open(), NPYLoader::open(), PPMLoader::open(), Dimensions< size_t >::operator[](), INode::output(), INode::output_id(), PadStrideInfo::pad(), SubTensorInfo::padding(), CLSubTensorHandle::parent_handle(), NESubTensorHandle::parent_handle(), arm_compute::scale_helpers::pixel_area_c1u8_clamp(), arm_compute::utils::cast::polymorphic_downcast(), arm_compute::utils::cast::polymorphic_downcast_unique_ptr(), arm_compute::test::validation::reference::pooling_layer_internal(), MemoryManagerOnDemand::populate(), ClGemm::prepare(), CLDepthwiseConvolutionLayer::prepare(), CpuGemmAssemblyDispatch::prepare(), NEFFTConvolutionLayer::prepare(), NEDeconvolutionLayer::prepare(), CLFFTConvolutionLayer::prepare(), CLGEMMDeconvolutionLayer::prepare(), CLDirectDeconvolutionLayer::prepare(), arm_compute::graph::detail::prepare_all_tasks(), DotGraphPrinter::print(), IArray< T >::push_back(), arm_compute::test::validation::reference::qlstm_layer_normalization(), SubTensorInfo::quantization_info(), QuantizationLayerNode::QuantizationLayerNode(), Qasymm8QuantizationHelper< QUANTIZED_TYPE >::quantize(), CLScheduler::queue(), RangedUniformDistribution< T >::RangedUniformDistribution(), arm_compute::test::validation::reference::rdft_2d(), ISimpleLifetimeManager::register_group(), MemoryGroup::release(), BlobMemoryPool::release(), OffsetMemoryPool::release(), PoolManager::release_pool(), arm_compute::test::validation::reference::remap(), Dimensions< size_t >::remove(), TensorShape::remove_dimension(), arm_compute::test::validation::reference::reorg_layer(), Iterator::reset(), SubTensorInfo::reset_padding(), arm_compute::test::validation::reference::reshape_layer(), IArray< T >::resize(), arm_compute::test::validation::reference::reverse(), arm_compute::test::validation::reference::ridft_2d(), NERemapKernel::run(), CPPDetectionOutputLayer::run(), ClConcatenate::run(), NEQLSTMLayerNormalizationKernel::run(), NEMaxUnpoolingLayerKernel::run(), NENormalizationLayerKernel::run(), NERangeKernel::run(), NEMeanStdDevNormalizationKernel::run(), NEGatherKernel::run(), NESelectKernel::run(), CLReductionOperationKernel::run(), NECropKernel::run(), NEBatchNormalizationLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CpuGemmAssemblyDispatch::run(), CpuFillKernel::run_op(), CpuElementwiseKernel::run_op(), CpuLogits1DMaxKernel::run_op(), CpuConcatenateBatchKernel::run_op(), CpuActivationKernel::run_op(), CpuPool2dKernel::run_op(), CpuQuantizeKernel::run_op(), ClActivationKernel::run_op(), NELogicalKernel::run_op(), CpuFloorKernel::run_op(), CpuScaleKernel::run_op(), CpuConcatenateDepthKernel::run_op(), CpuGemmMatrixAdditionKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), CpuSubKernel::run_op(), CpuAddKernel::run_op(), CpuDirectConv2dOutputStageKernel::run_op(), CpuGemmMatrixMultiplyKernel::run_op(), ClWinogradInputTransformKernel::run_op(), CpuDepthwiseConv2dNativeKernel::run_op(), CpuCastKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), CpuDepthwiseConv2dAssemblyWrapperKernel::run_op(), ClGemmMatrixMultiplyKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), CpuPool2dAssemblyWrapperKernel::run_op(), CpuMulKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), ClIm2ColKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), CpuWinogradConv2dTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), CpuWinogradConv2dTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), arm_compute::save_program_cache_to_file(), arm_compute::utils::save_to_ppm(), Window::scale(), arm_compute::test::validation::reference::scale_core(), arm_compute::schedule_kernel_on_ctx(), arm_compute::utils::schedule_kernel_on_ctx(), arm_compute::test::validation::reference::select(), Scheduler::set(), Dimensions< size_t >::set(), Window::set(), TensorAllocator::set_associated_memory_group(), CLTensorAllocator::set_associated_memory_group(), Window::set_broadcasted(), SubTensorInfo::set_data_layout(), SubTensorInfo::set_data_type(), Window::set_dimension_step(), SubTensorInfo::set_format(), TensorInfo::set_format(), CLTensorAllocator::set_global_allocator(), INode::set_graph(), Framework::set_instruments_info(), SubTensorInfo::set_is_resizable(), SubTensorInfo::set_num_channels(), SingleThreadScheduler::set_num_threads(), INode::set_output_tensor(), SubTensorInfo::set_quantization_info(), SubTensorInfo::set_tensor_dims_state(), SubTensorInfo::set_tensor_shape(), SubTensorInfo::set_valid_region(), arm_compute::set_wbsm(), CLDeviceBackend::setup_backend_context(), arm_compute::test::shape_to_valid_region(), Window::shift(), TensorShape::shift_right(), arm_compute::test::validation::reference::slice(), arm_compute::test::validation::reference::softmax_layer_generic(), Window::split_window(), arm_compute::test::validation::reference::stack_layer(), ISimpleLifetimeManager::start_lifetime(), TensorAccessor< T >::stride(), arm_compute::test::validation::reference::strided_slice(), SubTensorInfo::strides_in_bytes(), SubTensor::SubTensor(), SubTensorInfo::SubTensorInfo(), SubTensorInfo::tensor_dims_state(), SubTensorInfo::tensor_shape(), OpenCLMemoryUsage::test_start(), OpenCLClock< output_timestamps >::test_start(), SchedulerClock< output_timestamps >::test_start(), SubTensorInfo::total_size(), TensorShape::total_size_lower(), TensorShape::total_size_upper(), arm_compute::test::validation::transpose_matrix(), CLSubTensor::unmap(), CLTensorAllocator::unmap(), CLBufferMemoryRegion::unmap(), CLCoarseSVMMemoryRegion::unmap(), arm_compute::test::validation::reference::unstack(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowRectangle::update_padding_if_needed(), NEBoundingBoxTransformKernel::validate(), ClGemmConvolution::validate(), Window::validate(), NEDeviceBackend::validate_node(), CLDeviceBackend::validate_node(), arm_compute::graph::backends::detail::validate_node(), ValidRegion::ValidRegion(), arm_compute::vquantize_qsymm16(), arm_compute::test::validation::reference::winograd_input_transform(), arm_compute::test::validation::reference::winograd_output_transform(), CpuGemmAssemblyDispatch::workspace(), and arm_compute::test::validation::zeros().

◆ ARM_COMPUTE_ERROR_ON_LOC

#define ARM_COMPUTE_ERROR_ON_LOC (   cond,
  func,
  file,
  line 
)    ARM_COMPUTE_ERROR_ON_LOC_MSG(cond, func, file, line, "%s", #cond)

If the condition is true then an error message is printed and an exception thrown.

Parameters
[in]condCondition to evaluate.
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.

Definition at line 476 of file Error.h.

Referenced by arm_compute::error_on_format_not_in().

◆ ARM_COMPUTE_ERROR_ON_LOC_MSG

#define ARM_COMPUTE_ERROR_ON_LOC_MSG (   cond,
  func,
  file,
  line,
  ... 
)

Definition at line 458 of file Error.h.

Referenced by arm_compute::error_on_format_not_in().

◆ ARM_COMPUTE_ERROR_ON_MSG

#define ARM_COMPUTE_ERROR_ON_MSG (   cond,
  msg 
)

Definition at line 456 of file Error.h.

Referenced by arm_compute::test::validation::reference::accumulate_squared(), arm_compute::test::validation::reference::accumulate_weighted(), IWeightsManager::acquire(), arm_compute::graph::detail::allocate_all_input_tensors(), arm_compute::graph::detail::allocate_all_output_tensors(), arm_compute::test::validation::reference::arithmetic_operation(), arm_compute::calculate_same_pad(), MemoryManagerOnDemand::clear(), PoolManager::clear_pools(), CLRuntimeContext::CLRuntimeContext(), CommonGemmExampleOptions::CommonGemmExampleOptions(), arm_compute::misc::shape_calculator::compute_mm_shape(), ConcatenateLayerNode::compute_output_descriptor(), ReorgLayerNode::compute_output_descriptor(), arm_compute::misc::shape_calculator::compute_pool_shape(), arm_compute::misc::shape_calculator::compute_reorg_output_shape(), ClGemmDefaultConfigReshapedRhsOnlyValhall::configure(), ClGemmDefaultConfigReshapedRhsOnlyBifrost::configure(), ClGemmDefaultConfigNativeBifrost::configure(), ClGemmDefaultConfigNativeMidgard::configure(), ClGemmDefaultConfigNativeValhall::configure(), ClGemmDefaultConfigReshapedBifrost::configure(), ClGemmDefaultConfigReshapedValhall::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), CpuWinogradConv2d::configure(), NERemap::configure(), ClWinogradConv2d::configure(), ClGemmConvolution::configure(), CpuGemmConvolution::configure(), arm_compute::graph::detail::configure_all_tensors(), EltwiseLayerNode::configure_output(), arm_compute::graph::configure_tensor(), arm_compute::test::coord2index(), arm_compute::coords2index(), arm_compute::graph::backends::detail::create_convolution_layer(), arm_compute::create_image2d_from_buffer(), arm_compute::create_opencl_context_and_device(), CLScheduler::default_init(), GraphManager::execute_graph(), AssetsLibrary::fill(), NPYLoader::fill_tensor(), GraphManager::finalize_graph(), BackendRegistry::get_backend(), arm_compute::get_data_layout_dimension_index(), arm_compute::graph::get_dimension_idx(), arm_compute::graph::get_dimension_size(), arm_compute::get_index_data_layout_dimension(), arm_compute::test::validation::get_quantized_bounds(), arm_compute::test::validation::get_quantized_qasymm8_signed_bounds(), arm_compute::test::validation::get_symm_quantized_per_channel_bounds(), arm_compute::test::index2coord(), arm_compute::index2coords(), CLScheduler::init(), GraphManager::invalidate_graph(), CLSymbols::load_default(), PoolManager::lock_pool(), main(), CLCompileContext::max_local_workgroup_size(), MemoryManagerOnDemand::MemoryManagerOnDemand(), arm_compute::num_of_elements_in_range(), IScheduler::num_threads_hint(), arm_compute::cpuinfo::num_threads_hint(), PMU::open(), TokenStream::operator bool(), arm_compute::utils::parse_ppm_header(), TokenStream::peek(), MemoryManagerOnDemand::populate(), ClKernelLibrary::program(), HeuristicTree::query(), PoolManager::register_pool(), PoolManager::release_pool(), arm_compute::test::validation::reference::remap(), CpuDequantize::run(), CpuQuantize::run(), ClDequantize::run(), ClQuantize::run(), ICLSimpleFunction::run(), ClPRelu::run(), CpuScale::run(), ClScale::run(), ClPool2d::run(), IWeightsManager::run(), CpuDepthwiseConv2dAssemblyDispatch::run(), CpuPool2d::run(), NEQLSTMLayerNormalizationKernel::run(), CpuMul::run(), CpuSoftmaxGeneric< IS_LOG >::run(), CpuComplexMul::run(), NECropResize::run(), CLSynthetizeOperatorInitOutputWithZeroAndWithZeroConstantBorder< K, bordersize >::run(), CLInstanceNormalizationLayer::run(), CLCropResize::run(), CLSynthetizeFunctionInitOutputWithZeroAndWithZeroConstantBorder< K, bordersize >::run(), arm_compute::utils::run_example(), CpuGemmLowpQuantizeDownInt32ScaleKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run_op(), OMPScheduler::schedule_op(), arm_compute::select_preferable_platform(), arm_compute::graph_utils::set_target_hint(), ISimpleLifetimeManager::start_lifetime(), TokenStream::take(), PoolManager::unlock_pool(), arm_compute::opencl::kernels::gemm::update_padding_for_cl_image(), arm_compute::graph::detail::validate_all_nodes(), arm_compute::test::detail::validate_npy_header(), and arm_compute::test::validation::reference::winograd_filter_transform().

◆ ARM_COMPUTE_ERROR_ON_MSG_VAR

#define ARM_COMPUTE_ERROR_ON_MSG_VAR (   cond,
  msg,
  ... 
)

◆ ARM_COMPUTE_ERROR_THROW_ON

#define ARM_COMPUTE_ERROR_THROW_ON (   status)

Definition at line 455 of file Error.h.

Referenced by ClElementwiseKernel::ClElementwiseKernel(), CpuFloorKernel::configure(), CpuReshapeKernel::configure(), CpuLogits1DMaxKernel::configure(), CpuTransposeKernel::configure(), CpuConvertQuantizedSignednessKernel::configure(), CpuDequantizeKernel::configure(), CpuCopyKernel::configure(), ClReshapeKernel::configure(), ClTransposeKernel::configure(), ClDequantizeKernel::configure(), CpuScale::configure(), ClFloorKernel::configure(), CpuPermuteKernel::configure(), CpuConcatenateBatchKernel::configure(), ClCopyKernel::configure(), ClFillKernel::configure(), ClElementWiseUnaryKernel::configure(), NELogicalKernel::configure(), CpuActivationKernel::configure(), CpuConcatenateHeightKernel::configure(), CpuConcatenateWidthKernel::configure(), ClScaleKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CpuQuantizeKernel::configure(), CpuPool2dKernel::configure(), ClPool2dKernel::configure(), ClWidthConcatenateKernel::configure(), ClActivationKernel::configure(), ClHeightConcatenateKernel::configure(), CpuElementwiseUnaryKernel::configure(), ClQuantizeKernel::configure(), ClPermuteKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), CpuScaleKernel::configure(), CPPDetectionOutputLayer::configure(), ClSoftmax::configure(), CLStridedSliceKernel::configure(), ClBatchConcatenateKernel::configure(), ClCropKernel::configure(), ClDepthConcatenateKernel::configure(), CpuConvertFullyConnectedWeightsKernel::configure(), CpuGemmMatrixAdditionKernel::configure(), CpuConcatenate::configure(), CpuDirectConv2dKernel::configure(), ClConvertFullyConnectedWeightsKernel::configure(), CpuConcatenateDepthKernel::configure(), ClGemmLowpMatrixMultiplyNativeKernel::configure(), CpuDirectConv2dOutputStageKernel::configure(), CpuGemmLowpMatrixAReductionKernel::configure(), NEBatchToSpaceLayerKernel::configure(), NEReverseKernel::configure(), NETileKernel::configure(), NEChannelShuffleLayerKernel::configure(), NEDepthToSpaceLayerKernel::configure(), CpuGemmMatrixMultiplyKernel::configure(), CpuAddKernel::configure(), NEPriorBoxLayerKernel::configure(), NESpaceToDepthLayerKernel::configure(), CpuSubKernel::configure(), ClConcatenate::configure(), ClGemmReshapeLhsMatrixKernel::configure(), CpuGemmLowpMatrixMultiplyKernel::configure(), NEComputeAllAnchorsKernel::configure(), NEInstanceNormalizationLayerKernel::configure(), NEReorgLayerKernel::configure(), CLRemapKernel::configure(), CPPTopKVKernel::configure(), ClGemmMatrixMultiplyNativeKernel::configure(), ClWinogradFilterTransformKernel::configure(), ClWinogradInputTransformKernel::configure(), NEFFTDigitReverseKernel::configure(), NEFFTScaleKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), CLMinMaxLayerKernel::configure(), NESpaceToBatchLayerKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), CpuDepthwiseConv2dNativeKernel::configure(), CLReverseKernel::configure(), CLSelectKernel::configure(), NENormalizationLayerKernel::configure(), CPPPermuteKernel::configure(), CLChannelShuffleLayerKernel::configure(), CpuCastKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), CLDepthToSpaceLayerKernel::configure(), CpuGemmInterleave4x4Kernel::configure(), ClLogits1DMaxShiftExpSumKernel::configure(), ClWinogradOutputTransformKernel::configure(), CLSpaceToDepthLayerKernel::configure(), NEPadLayerKernel::configure(), ClCastKernel::configure(), CLBatchToSpaceLayerKernel::configure(), CLComputeAllAnchorsKernel::configure(), NEMaxUnpoolingLayerKernel::configure(), NERangeKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleKernel::configure(), ClGemmMatrixMultiplyKernel::configure(), CLGatherKernel::configure(), CpuGemmLowpOffsetContributionKernel::configure(), NEBoundingBoxTransformKernel::configure(), CLSpaceToBatchLayerKernel::configure(), NEFFTRadixStageKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), NEROIPoolingLayerKernel::configure(), ClDirectConv2dKernel::configure(), CLNormalizationLayerKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLFFTScaleKernel::configure(), CpuGemmLowpQuantizeDownInt32ScaleKernel::configure(), NEMinMaxLayerKernel::configure(), CLTileKernel::configure(), NEStackLayerKernel::configure(), ClGemmLowpMatrixMultiplyReshapedKernel::configure(), CLComparisonKernel::configure(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::configure(), NEReductionOperationKernel::configure(), CLReorgLayerKernel::configure(), NESelectKernel::configure(), NEGatherKernel::configure(), CPPNonMaximumSuppressionKernel::configure(), CPPDetectionPostProcessLayer::configure(), CLFFTDigitReverseKernel::configure(), CpuCol2ImKernel::configure(), NEFuseBatchNormalizationKernel::configure(), CLMeanStdDevNormalizationKernel::configure(), ClGemmLowpOffsetContributionKernel::configure(), ClGemmLowpOffsetContributionOutputStageKernel::configure(), ClGemmReshapeRhsMatrixKernel::configure(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::configure(), NEBatchNormalizationLayerKernel::configure(), NECropKernel::configure(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::configure(), NEROIAlignLayerKernel::configure(), CpuMulKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CpuSoftmaxGeneric< IS_LOG >::configure(), CLRangeKernel::configure(), CLReductionOperationKernel::configure(), NEStridedSliceKernel::configure(), ClCol2ImKernel::configure(), CLPadLayerKernel::configure(), CpuGemmDirectConv2d::configure(), CpuGemmLowpOutputStage::configure(), CLFFTRadixStageKernel::configure(), CLPriorBoxLayerKernel::configure(), NEFFT2D::configure(), CLL2NormalizeLayerKernel::configure(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::configure(), CLBoundingBoxTransformKernel::configure(), NEUnstack::configure(), ClMulKernel::configure(), CLUnstack::configure(), NEReduceMean::configure(), CpuWeightsReshapeKernel::configure(), CpuWinogradConv2d::configure(), NERNNLayer::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLROIPoolingLayerKernel::configure(), CLStackLayerKernel::configure(), CLReduceMean::configure(), ClGemmLowpMatrixAReductionKernel::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), NEGEMM::configure(), ClWeightsReshapeKernel::configure(), NECropResize::configure(), CLArgMinMaxLayerKernel::configure(), NEReductionOperation::configure(), NEFFT1D::configure(), CLROIAlignLayerKernel::configure(), CpuIm2ColKernel::configure(), ClIm2ColKernel::configure(), NEGEMMLowpOutputStage::configure(), CpuGemmTranspose1xWKernel::configure(), NEDetectionPostProcessLayer::configure(), CLDeconvolutionReshapeOutputKernel::configure(), CLFFT2D::configure(), CLBatchNormalizationLayerKernel::configure(), CLRNNLayer::configure(), CLFuseBatchNormalizationKernel::configure(), ClFullyConnected::configure(), CLFFT1D::configure(), NEPadLayer::configure(), CLFullyConnectedLayer::configure(), CpuGemmLowpOffsetContributionOutputStageKernel::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), CpuLogits1DSoftmaxKernel< IS_LOG >::configure(), CpuFullyConnected::configure(), ClGemm::configure(), CLDepthwiseConvolutionLayer::configure(), CLPadLayer::configure(), CpuGemm::configure(), ClGemmLowpMatrixMultiplyCore::configure(), ClWinogradConv2d::configure(), NEGenerateProposalsLayer::configure(), CpuArithmeticKernel::configure(), ClLogicalBinaryKernel::configure(), ClComplexMulKernel::configure(), ClGemmConvolution::configure(), CLCropResize::configure(), ClLogits1DNormKernel::configure(), CpuConv2d::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), CpuGemmConvolution::configure(), ClGemmLowpMatrixBReductionKernel::configure(), CLComputeMeanVariance::configure(), CpuGemmLowpMatrixMultiplyCore::configure(), NEDeconvolutionLayer::configure(), ClConv2d::configure(), CLFFTConvolutionLayer::configure(), CpuGemmLowpMatrixBReductionKernel::configure(), NEConvolutionLayer::configure(), CLGenerateProposalsLayer::configure(), NEFullyConnectedLayer::configure(), CLGEMMDeconvolutionLayer::configure(), CLDirectDeconvolutionLayer::configure(), CLLSTMLayerQuantized::configure(), NEQLSTMLayer::configure(), CpuComplexMulKernel::configure(), CPPSplit< CLSlice, ICLTensor >::configure(), ClSaturatedArithmeticKernel::configure(), CpuDivisionKernel::configure(), CLConvolutionLayer::configure(), CpuPowerKernel::configure(), CLLSTMLayer::configure(), ClArithmeticKernel::configure(), CLQLSTMLayer::configure(), and CpuComparisonKernel::configure().

◆ ARM_COMPUTE_ERROR_VAR

#define ARM_COMPUTE_ERROR_VAR (   msg,
  ... 
)    ARM_COMPUTE_THROW_ERROR_VAR(__func__, __FILE__, __LINE__, msg, __VA_ARGS__)

◆ ARM_COMPUTE_EXIT_ON_MSG

#define ARM_COMPUTE_EXIT_ON_MSG (   cond,
  msg 
)
Value:
do \
{ \
if(cond) \
{ \
ARM_COMPUTE_ERROR(msg); \
} \
} while(false)

If the condition is true, the given message is printed and program exits.

Parameters
[in]condCondition to evaluate.
[in]msgMessage to display.

Definition at line 379 of file Error.h.

Referenced by ImageAccessor::access_tensor(), ValidationInputAccessor::ValidationInputAccessor(), and ValidationOutputAccessor::ValidationOutputAccessor().

◆ ARM_COMPUTE_EXIT_ON_MSG_VAR

#define ARM_COMPUTE_EXIT_ON_MSG_VAR (   cond,
  msg,
  ... 
)
Value:
do \
{ \
if(cond) \
{ \
ARM_COMPUTE_ERROR_VAR(msg, __VA_ARGS__); \
} \
} while(false)

If the condition is true, the given message is printed and program exits.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]condCondition to evaluate.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 395 of file Error.h.

Referenced by ImageAccessor::access_tensor(), ValidationInputAccessor::access_tensor(), and NPYLoader::open().

◆ ARM_COMPUTE_RETURN_ERROR_MSG

#define ARM_COMPUTE_RETURN_ERROR_MSG (   ...)
Value:
do \
{ \
} while(false)
#define ARM_COMPUTE_CREATE_ERROR(error_code, msg)
Creates an error with a given message.
Definition: Error.h:159

An error is returned with the given description.

Parameters
[in]...Error description message.

Definition at line 194 of file Error.h.

Referenced by CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CpuWinogradConv2d::validate(), ClGemm::validate(), arm_compute::graph::backends::detail::validate_convolution_layer(), and arm_compute::graph::backends::detail::validate_depthwise_convolution_layer().

◆ ARM_COMPUTE_RETURN_ERROR_ON

#define ARM_COMPUTE_RETURN_ERROR_ON (   cond)    ARM_COMPUTE_RETURN_ERROR_ON_MSG(cond, #cond)

If the condition is true, an error is returned.

Parameters
[in]condCondition to evaluate

Definition at line 296 of file Error.h.

Referenced by arm_compute::quantization::calculate_quantized_multiplier_greater_than_one(), arm_compute::quantization::calculate_quantized_multiplier_less_than_one(), arm_compute::quantization::calculate_quantized_multipliers(), TensorAllocator::import_memory(), CLTensorAllocator::import_memory(), CpuLogits1DMaxKernel::name(), ClMulKernel::run_op(), arm_compute::graph::set_tensor_accessor(), CpuTransposeKernel::validate(), CpuScale::validate(), ClTransposeKernel::validate(), ClFillKernel::validate(), CPPSplit< CLSlice, ICLTensor >::validate(), NELogicalKernel::validate(), CpuElementwiseUnaryKernel::validate(), CpuSub::validate(), ClSoftmax::validate(), CpuConvertFullyConnectedWeightsKernel::validate(), CpuAdd::validate(), CpuConcatenate::validate(), ClCropKernel::validate(), ClConvertFullyConnectedWeightsKernel::validate(), ClConcatenate::validate(), CpuGemmInterleave4x4Kernel::validate(), CpuMul::validate(), SplitLayerNode::validate(), NEQLSTMLayerNormalizationKernel::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), CpuGemmDirectConv2d::validate(), CpuGemmLowpOutputStage::validate(), NESelectKernel::validate(), NEUnstack::validate(), CLUnstack::validate(), NEElementwiseMax::validate(), NECropKernel::validate(), NEDepthConvertLayer::validate(), CpuGemmTranspose1xWKernel::validate(), NEFFT1D::validate(), NERNNLayer::validate(), NEStackLayer::validate(), ClFullyConnected::validate(), CLFFT1D::validate(), CpuFullyConnected::validate(), CLROIPoolingLayerKernel::validate(), CLRNNLayer::validate(), CpuComplexMul::validate(), NEPadLayer::validate(), NECropResize::validate(), CLStackLayer::validate(), CpuGemm::validate(), ClGemmLowpMatrixMultiplyCore::validate(), CLDepthwiseConvolutionLayer::validate(), CLDepthConvertLayer::validate(), ClGemmConvolution::validate(), NEGenerateProposalsLayer::validate(), CpuGemmConvolution::validate(), NEFFTConvolutionLayer::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), NEDeconvolutionLayer::validate(), CLCropResize::validate(), NESlice::validate(), NELSTMLayerQuantized::validate(), CLFFTConvolutionLayer::validate(), CLGenerateProposalsLayer::validate(), CLGEMMDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), NEElementwiseMin::validate(), ClSaturatedArithmeticKernel::validate(), CLSlice::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), NEQLSTMLayer::validate(), ClArithmeticKernel::validate(), NEElementwiseSquaredDiff::validate(), arm_compute::validate(), CLLSTMLayer::validate(), CLQLSTMLayer::validate(), NEElementwiseDivision::validate(), NEElementwisePower::validate(), ICpuWinogradConv2dTransformWeightsKernel::validate(), arm_compute::graph::backends::detail::validate_arg_min_max_layer(), arm_compute::graph::backends::detail::validate_bounding_box_transform_layer(), arm_compute::graph::backends::detail::validate_channel_shuffle_layer(), arm_compute::graph::backends::detail::validate_convolution_layer(), arm_compute::graph::backends::detail::validate_depth_to_space_layer(), arm_compute::graph::backends::detail::validate_depthwise_convolution_layer(), arm_compute::graph::backends::detail::validate_dequantization_layer(), arm_compute::graph::backends::detail::validate_detection_output_layer(), arm_compute::graph::backends::detail::validate_detection_post_process_layer(), arm_compute::graph::backends::detail::validate_eltwise_Layer(), arm_compute::graph::backends::detail::validate_generate_proposals_layer(), arm_compute::graph::backends::detail::validate_l2_normalize_layer(), arm_compute::graph::backends::detail::validate_normalize_planar_yuv_layer(), arm_compute::graph::backends::detail::validate_pad_layer(), arm_compute::graph::backends::detail::validate_permute_layer(), arm_compute::graph::backends::detail::validate_prelu_layer(), arm_compute::graph::backends::detail::validate_priorbox_layer(), arm_compute::graph::backends::detail::validate_quantization_layer(), arm_compute::graph::backends::detail::validate_reduction_operation_layer(), arm_compute::graph::backends::detail::validate_reorg_layer(), arm_compute::graph::backends::detail::validate_reshape_layer(), arm_compute::graph::backends::detail::validate_roi_align_layer(), arm_compute::graph::backends::detail::validate_slice_layer(), arm_compute::graph::backends::detail::validate_strided_slice_layer(), and arm_compute::graph::backends::detail::validate_unary_eltwise_layer().

◆ ARM_COMPUTE_RETURN_ERROR_ON_LOC

◆ ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG

#define ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG (   cond,
  func,
  file,
  line,
  msg 
)
Value:
do \
{ \
if(cond) \
{ \
return arm_compute::create_error_msg(ErrorCode::RUNTIME_ERROR, func, file, line, msg); \
} \
} while(false)
Status create_error_msg(ErrorCode error_code, const char *func, const char *file, int line, const char *msg)
Creates an error and the error message.
Definition: Error.cpp:39

If the condition is true, an error is thrown.

Parameters
[in]condCondition to evaluate.
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgMessage to display.

Definition at line 283 of file Error.h.

Referenced by arm_compute::error_on_mismatching_data_layouts(), arm_compute::error_on_mismatching_data_types(), arm_compute::error_on_mismatching_quantization_info(), arm_compute::error_on_mismatching_shapes(), arm_compute::error_on_nullptr(), arm_compute::error_on_tensors_not_even(), arm_compute::error_on_tensors_not_subsampled(), arm_compute::error_on_unconfigured_kernel(), arm_compute::error_on_unsupported_cpu_bf16(), arm_compute::error_on_unsupported_cpu_fp16(), arm_compute::error_on_unsupported_fp16(), and compare_dimension< T >::operator()().

◆ ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG_VAR

#define ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG_VAR (   cond,
  func,
  file,
  line,
  msg,
  ... 
)
Value:
do \
{ \
if(cond) \
{ \
std::array<char, 512> out{ 0 }; \
int offset = snprintf(out.data(), out.size(), "in %s %s:%d: ", func, file, line); \
snprintf(out.data() + offset, out.size() - offset, msg, __VA_ARGS__); \
return arm_compute::create_error(ErrorCode::RUNTIME_ERROR, std::string(out.data())); \
} \
} while(false)
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
Definition: helpers.h:861
Status create_error(ErrorCode error_code, std::string msg)
Creates an error containing the error message.
Definition: Error.cpp:34
int snprintf(char *s, std::size_t n, const char *fmt, Ts &&... args)
Loads the data from the given location, converts them to character string equivalents and writes the ...

If the condition is true, an error is thrown.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]condCondition to evaluate.
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 263 of file Error.h.

Referenced by arm_compute::error_on_data_layout_not_in(), arm_compute::error_on_data_type_channel_not_in(), arm_compute::error_on_data_type_not_in(), arm_compute::error_on_tensor_not_2d(), and arm_compute::error_on_window_dimensions_gte().

◆ ARM_COMPUTE_RETURN_ERROR_ON_MSG

#define ARM_COMPUTE_RETURN_ERROR_ON_MSG (   cond,
  msg 
)
Value:
do \
{ \
if(cond) \
{ \
return arm_compute::create_error_msg(arm_compute::ErrorCode::RUNTIME_ERROR, __func__, __FILE__, __LINE__, msg); \
} \
} while(false)
Status create_error_msg(ErrorCode error_code, const char *func, const char *file, int line, const char *msg)
Creates an error and the error message.
Definition: Error.cpp:39

If the condition is true, an error is returned.

Parameters
[in]condCondition to evaluate.
[in]msgError description message

Definition at line 244 of file Error.h.

Referenced by CpuMulKernel::name(), ClMulKernel::run_op(), CpuTransposeKernel::validate(), ClTransposeKernel::validate(), NELogicalKernel::validate(), ClSoftmax::validate(), CLRemapKernel::validate(), SplitLayerNode::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), CpuGemmDirectConv2d::validate(), CpuGemmLowpOutputStage::validate(), CpuWinogradConv2d::validate(), CpuDirectConv2d::validate(), NEReductionOperation::validate(), NEArgMinMaxLayer::validate(), CpuFullyConnected::validate(), CpuGemmAssemblyDispatch::validate(), ClGemmLowpMatrixMultiplyCore::validate(), CpuGemm::validate(), CLArgMinMaxLayer::validate(), CLReductionOperation::validate(), CLDepthwiseConvolutionLayer::validate(), ClGemmConvolution::validate(), CpuConv2d::validate(), CpuGemmConvolution::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), ClConv2d::validate(), NEDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), CLConvolutionLayer::validate(), NEQLSTMLayer::validate(), CLQLSTMLayer::validate(), ICpuWinogradConv2dTransformWeightsKernel::validate(), arm_compute::graph::backends::detail::validate_convolution_layer(), and arm_compute::opencl::kernels::gemm::validate_image2d_support_on_rhs().

◆ ARM_COMPUTE_RETURN_ERROR_ON_MSG_VAR

#define ARM_COMPUTE_RETURN_ERROR_ON_MSG_VAR (   cond,
  msg,
  ... 
)
Value:
do \
{ \
if(cond) \
{ \
std::array<char, 512> out{ 0 }; \
int offset = snprintf(out.data(), out.size(), "in %s %s:%d: ", __func__, __FILE__, __LINE__); \
snprintf(out.data() + offset, out.size() - offset, msg, __VA_ARGS__); \
} \
} while(false)
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
Definition: helpers.h:861
Status create_error(ErrorCode error_code, std::string msg)
Creates an error containing the error message.
Definition: Error.cpp:34
int snprintf(char *s, std::size_t n, const char *fmt, Ts &&... args)
Loads the data from the given location, converts them to character string equivalents and writes the ...

If the condition is true, an error is returned.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]condCondition to evaluate.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 227 of file Error.h.

◆ ARM_COMPUTE_RETURN_ON_ERROR

#define ARM_COMPUTE_RETURN_ON_ERROR (   status)
Value:
do \
{ \
if(!bool(status)) \
{ \
return status; \
} \
} while(false)

Checks if a status contains an error and returns it.

Parameters
[in]statusStatus value to check

Definition at line 204 of file Error.h.

Referenced by arm_compute::quantization::calculate_quantized_multipliers(), arm_compute::error_on_data_layout_not_in(), arm_compute::error_on_data_type_channel_not_in(), arm_compute::error_on_data_type_not_in(), arm_compute::error_on_mismatching_data_layouts(), arm_compute::error_on_mismatching_data_types(), arm_compute::error_on_mismatching_dimensions(), arm_compute::error_on_mismatching_quantization_info(), arm_compute::error_on_mismatching_shapes(), arm_compute::error_on_tensors_not_even(), arm_compute::error_on_tensors_not_subsampled(), arm_compute::error_on_unsupported_cpu_bf16(), arm_compute::error_on_unsupported_cpu_fp16(), arm_compute::error_on_unsupported_fp16(), arm_compute::detail::for_each_error(), CpuQuantize::validate(), CpuConvertQuantizedSignednessKernel::validate(), CpuDequantizeKernel::validate(), CpuFloorKernel::validate(), CpuLogits1DMaxKernel::validate(), CpuCopyKernel::validate(), CpuReshapeKernel::validate(), ClReshapeKernel::validate(), ClDequantizeKernel::validate(), CpuScale::validate(), ClFloorKernel::validate(), CpuPermuteKernel::validate(), ClCopyKernel::validate(), ClElementWiseUnaryKernel::validate(), CpuConcatenateBatchKernel::validate(), CpuActivationKernel::validate(), CPPSplit< CLSlice, ICLTensor >::validate(), CpuConcatenateHeightKernel::validate(), CpuConcatenateWidthKernel::validate(), ClScaleKernel::validate(), ClWidthConcatenate2TensorsKernel::validate(), CpuPool2dKernel::validate(), CpuQuantizeKernel::validate(), ClHeightConcatenateKernel::validate(), ClPool2dKernel::validate(), ClWidthConcatenateKernel::validate(), ClActivationKernel::validate(), ClQuantizeKernel::validate(), ClPermuteKernel::validate(), ClWidthConcatenate4TensorsKernel::validate(), ClSoftmax::validate(), CpuScaleKernel::validate(), ClBatchConcatenateKernel::validate(), ClDepthConcatenateKernel::validate(), CpuDirectConv2dKernel::validate(), CpuConcatenate::validate(), CpuConcatenateDepthKernel::validate(), CpuDirectConv2dOutputStageKernel::validate(), CpuGemmLowpMatrixAReductionKernel::validate(), CPPDetectionOutputLayer::validate(), ClGemmLowpMatrixMultiplyNativeKernel::validate(), CpuGemmMatrixMultiplyKernel::validate(), CpuSubKernel::validate(), ClConcatenate::validate(), CpuAddKernel::validate(), ClGemmReshapeLhsMatrixKernel::validate(), CpuGemmLowpMatrixMultiplyKernel::validate(), NETileKernel::validate(), CpuDepthwiseConv2dNativeKernel::validate(), ClWinogradFilterTransformKernel::validate(), ClWinogradInputTransformKernel::validate(), NEChannelShuffleLayerKernel::validate(), NEDepthToSpaceLayerKernel::validate(), NEReverseKernel::validate(), NESpaceToDepthLayerKernel::validate(), ClDirectConv2d::validate(), NEPriorBoxLayerKernel::validate(), CpuCastKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::validate(), ClLogits1DMaxShiftExpSumKernel::validate(), CLMinMaxLayerKernel::validate(), NEFFTScaleKernel::validate(), NEComputeAllAnchorsKernel::validate(), NEInstanceNormalizationLayerKernel::validate(), ClCastKernel::validate(), ClGemmMatrixMultiplyNativeKernel::validate(), CLInstanceNormalizationLayerKernel::validate(), ClWinogradOutputTransformKernel::validate(), CLChannelShuffleLayerKernel::validate(), NEReorgLayerKernel::validate(), CPPPermuteKernel::validate(), CPPTopKVKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleKernel::validate(), NEFFTDigitReverseKernel::validate(), CpuGemmLowpOffsetContributionKernel::validate(), CLReverseKernel::validate(), CLDepthToSpaceLayerKernel::validate(), CLSelectKernel::validate(), CLSpaceToDepthLayerKernel::validate(), ClGemmMatrixMultiplyKernel::validate(), CpuGemmLowpQuantizeDownInt32ScaleKernel::validate(), CLStridedSliceKernel::validate(), ClDirectConv2dKernel::validate(), CLMaxUnpoolingLayerKernel::validate(), NEFFTRadixStageKernel::validate(), NEMaxUnpoolingLayerKernel::validate(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::validate(), NENormalizationLayerKernel::validate(), NERangeKernel::validate(), CLFFTScaleKernel::validate(), NEReshapeLayer::validate(), ClGemmLowpMatrixMultiplyReshapedKernel::validate(), CpuCol2ImKernel::validate(), CLComputeAllAnchorsKernel::validate(), ClGemmReshapeRhsMatrixKernel::validate(), NEBatchToSpaceLayerKernel::validate(), NEMeanStdDevNormalizationKernel::validate(), CLQLSTMLayerNormalizationKernel::validate(), NECopy::validate(), NEMinMaxLayerKernel::validate(), NETranspose::validate(), CLNormalizationLayerKernel::validate(), NEPadLayerKernel::validate(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::validate(), CLComparisonKernel::validate(), CpuMulKernel::validate(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), CLGatherKernel::validate(), NEGatherKernel::validate(), CLFFTDigitReverseKernel::validate(), ClCol2ImKernel::validate(), CLTileKernel::validate(), ClGemmLowpOffsetContributionKernel::validate(), ClGemmLowpOffsetContributionOutputStageKernel::validate(), NESpaceToDepthLayer::validate(), CLMeanStdDevNormalizationKernel::validate(), CpuGemmDirectConv2d::validate(), NEROIAlignLayer::validate(), NEBoundingBoxTransformKernel::validate(), NEReductionOperationKernel::validate(), CLRangeKernel::validate(), CLReorgLayerKernel::validate(), CPPNonMaximumSuppressionKernel::validate(), CLFFTRadixStageKernel::validate(), NEStackLayerKernel::validate(), ClMulKernel::validate(), NEFFT2D::validate(), CLReductionOperationKernel::validate(), NESpaceToBatchLayerKernel::validate(), CpuWeightsReshapeKernel::validate(), CLReshapeLayer::validate(), CLNormalizePlanarYUVLayerKernel::validate(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::validate(), NEPermute::validate(), CLPadLayerKernel::validate(), NEUnstack::validate(), CPPDetectionPostProcessLayer::validate(), CLPriorBoxLayerKernel::validate(), ClGemmLowpMatrixAReductionKernel::validate(), CLUnstack::validate(), CpuWinogradConv2d::validate(), CpuDirectConv2d::validate(), ClWeightsReshapeKernel::validate(), NEROIPoolingLayerKernel::validate(), NEROIAlignLayerKernel::validate(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::validate(), NEBatchNormalizationLayerKernel::validate(), NESoftmaxLayerGeneric< IS_LOG >::validate(), CLL2NormalizeLayerKernel::validate(), CpuIm2ColKernel::validate(), NERNNLayer::validate(), NEStackLayer::validate(), CLBoundingBoxTransformKernel::validate(), ClIm2ColKernel::validate(), NEL2NormalizeLayer::validate(), NEFuseBatchNormalizationKernel::validate(), NEStridedSliceKernel::validate(), CLBatchToSpaceLayerKernel::validate(), NEReductionOperation::validate(), CLFFT2D::validate(), CLStackLayerKernel::validate(), NENormalizationLayer::validate(), CLDepthwiseConvolutionLayerNativeKernel::validate(), CLArgMinMaxLayerKernel::validate(), CpuLogits1DSoftmaxKernel< IS_LOG >::validate(), ClFullyConnected::validate(), ClGemmMatrixMultiplyReshapedKernel::validate(), CpuGemmLowpOffsetContributionOutputStageKernel::validate(), ClGemm::validate(), CpuFullyConnected::validate(), NESpaceToBatchLayer::validate(), CLROIAlignLayerKernel::validate(), CLDeconvolutionReshapeOutputKernel::validate(), NEDetectionPostProcessLayer::validate(), CLDeconvolutionLayer::validate(), CLSpaceToBatchLayerKernel::validate(), CLRNNLayer::validate(), NECropResize::validate(), CLStackLayer::validate(), NEBatchNormalizationLayer::validate(), CpuGemm::validate(), CLBatchNormalizationLayerKernel::validate(), ClGemmLowpMatrixMultiplyCore::validate(), CLL2NormalizeLayer::validate(), CLROIAlignLayer::validate(), ClWinogradConv2d::validate(), CLFuseBatchNormalizationKernel::validate(), CLPadLayer::validate(), CLArgMinMaxLayer::validate(), CLReductionOperation::validate(), CLDepthwiseConvolutionLayer::validate(), CpuArithmeticKernel::validate(), ClLogicalBinaryKernel::validate(), ClComplexMulKernel::validate(), ClLogits1DNormKernel::validate(), ClGemmConvolution::validate(), CpuConv2d::validate(), NEGenerateProposalsLayer::validate(), NEFFTConvolutionLayer::validate(), CpuGemmConvolution::validate(), ClGemmLowpMatrixBReductionKernel::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), CLComputeMeanVariance::validate(), CLSpaceToBatchLayer::validate(), ClConv2d::validate(), CpuGemmLowpMatrixBReductionKernel::validate(), NEDeconvolutionLayer::validate(), CLCropResize::validate(), NELSTMLayerQuantized::validate(), CLFFTConvolutionLayer::validate(), CLGenerateProposalsLayer::validate(), CpuComplexMulKernel::validate(), CLGEMMDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), NEConvolutionLayer::validate(), ClSaturatedArithmeticKernel::validate(), CpuDivisionKernel::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), CLConvolutionLayer::validate(), CpuPowerKernel::validate(), NEQLSTMLayer::validate(), ClArithmeticKernel::validate(), CpuComparisonKernel::validate(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::validate(), CLLSTMLayer::validate(), CLQLSTMLayer::validate(), CpuWinogradConv2dTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::validate(), and CpuWinogradConv2dTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::validate().

◆ ARM_COMPUTE_THROW

#define ARM_COMPUTE_THROW (   ex)    throw(ex)

◆ ARM_COMPUTE_THROW_ERROR

#define ARM_COMPUTE_THROW_ERROR (   func,
  file,
  line,
  msg 
)
Value:
do \
{ \
} while(false)
Status create_error_msg(ErrorCode error_code, const char *func, const char *file, int line, const char *msg)
Creates an error and the error message.
Definition: Error.cpp:39
void throw_error(Status err)
Throw an std::runtime_error.
Definition: Error.cpp:46

Print the given message then throw an std::runtime_error.

Parameters
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgMessage to display.

Definition at line 316 of file Error.h.

◆ ARM_COMPUTE_THROW_ERROR_VAR

#define ARM_COMPUTE_THROW_ERROR_VAR (   func,
  file,
  line,
  msg,
  ... 
)
Value:
do \
{ \
std::array<char, 512> out{ 0 }; \
int offset = snprintf(out.data(), out.size(), "in %s %s:%d: ", func, file, line); \
snprintf(out.data() + offset, out.size() - offset, msg, __VA_ARGS__); \
} while(false)
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
Definition: helpers.h:861
Status class.
Definition: Error.h:52
void throw_error(Status err)
Throw an std::runtime_error.
Definition: Error.cpp:46
int snprintf(char *s, std::size_t n, const char *fmt, Ts &&... args)
Loads the data from the given location, converts them to character string equivalents and writes the ...

Print the given message then throw an std::runtime_error.

Accepts a message format and a variable list of arguments matching the format description.

Parameters
[in]funcFunction in which the error occurred.
[in]fileFile in which the error occurred.
[in]lineLine in which the error occurred.
[in]msgError description message format.
[in]...List of arguments matching the format description.

Definition at line 331 of file Error.h.

◆ ARM_COMPUTE_THROW_ON_ERROR

#define ARM_COMPUTE_THROW_ON_ERROR (   error)    error.throw_if_error();

Checks if an error value is valid if not throws an exception with the error.

Parameters
[in]errorError value to check.

Definition at line 217 of file Error.h.

◆ ARM_COMPUTE_UNUSED

#define ARM_COMPUTE_UNUSED (   ...)    ::arm_compute::ignore_unused(__VA_ARGS__)

To avoid unused variables warnings.

This is useful if for example a variable is only used in debug builds and generates a warning in release builds.

Parameters
[in]...Variables which are unused.

Definition at line 152 of file Error.h.

Referenced by DummyAccessor::access_tensor(), AclUnmapTensor(), arm_compute::test::validation::reference::activation_layer(), ICLKernel::add_array_argument(), arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), ICLKernel::add_tensor_argument(), CLBufferAllocator::allocate(), Allocator::allocate(), arm_compute::calculate_same_pad(), arm_compute::misc::shape_calculator::compute_mm_shape(), AccessWindowAutoPadding::compute_valid_region(), AccessWindowStatic::compute_valid_region(), CpuReshapeKernel::configure(), ClGemmDefaultConfigNativeBifrost::configure(), ClGemmDefaultConfigNativeValhall::configure(), ClGemmDefaultConfigReshapedBifrost::configure(), ClGemmDefaultConfigReshapedValhall::configure(), ClGemmDefaultConfigReshapedRhsOnlyBifrost::configure(), ClGemmDefaultConfigReshapedRhsOnlyValhall::configure(), ClGemmDefaultConfigNativeMidgard::configure(), CpuConcatenateHeightKernel::configure(), CpuConcatenateWidthKernel::configure(), CpuSub::configure(), CpuScaleKernel::configure(), CpuAdd::configure(), CpuGemmMatrixAdditionKernel::configure(), CpuDirectConv2dOutputStageKernel::configure(), CpuGemmLowpMatrixMultiplyKernel::configure(), CpuMul::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), CpuGemmLowpOffsetContributionKernel::configure(), CpuDepthwiseConv2dAssemblyWrapperKernel::configure(), CpuGemmLowpQuantizeDownInt32ScaleKernel::configure(), CpuPool2dAssemblyWrapperKernel::configure(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::configure(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::configure(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::configure(), CpuMulKernel::configure(), NEElementwiseMax::configure(), NEDepthConvertLayer::configure(), CpuIm2ColKernel::configure(), CpuGemmLowpOffsetContributionOutputStageKernel::configure(), CpuComplexMul::configure(), NEFFTConvolutionLayer::configure(), CLDepthConvertLayer::configure(), CpuConv2d::configure(), CpuGemmConvolution::configure(), CLFFTConvolutionLayer::configure(), NEConvolutionLayer::configure(), NEElementwiseMin::configure(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::configure(), NEElementwiseSquaredDiff::configure(), NEElementwiseDivision::configure(), NEElementwisePower::configure(), CpuWinogradConv2dTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::configure(), arm_compute::test::validation::detail::configure_conv_function< NEGEMMConv2d, Tensor >(), FlattenLayerNode::configure_output(), NormalizePlanarYUVLayerNode::configure_output(), OutputNode::configure_output(), PReluLayerNode::configure_output(), ConstNode::configure_output(), InputNode::configure_output(), ReshapeLayerNode::configure_output(), DequantizationLayerNode::configure_output(), SoftmaxLayerNode::configure_output(), ChannelShuffleLayerNode::configure_output(), DetectionPostProcessLayerNode::configure_output(), NormalizationLayerNode::configure_output(), BoundingBoxTransformLayerNode::configure_output(), ActivationLayerNode::configure_output(), DummyNode::configure_output(), PermuteLayerNode::configure_output(), QuantizationLayerNode::configure_output(), ResizeLayerNode::configure_output(), DepthToSpaceLayerNode::configure_output(), PadLayerNode::configure_output(), ReductionLayerNode::configure_output(), ROIAlignLayerNode::configure_output(), DetectionOutputLayerNode::configure_output(), PoolingLayerNode::configure_output(), PriorBoxLayerNode::configure_output(), ReorgLayerNode::configure_output(), StackLayerNode::configure_output(), BatchNormalizationLayerNode::configure_output(), DeconvolutionLayerNode::configure_output(), ArgMinMaxLayerNode::configure_output(), SliceLayerNode::configure_output(), PrintLayerNode::configure_output(), L2NormalizeLayerNode::configure_output(), SplitLayerNode::configure_output(), ConcatenateLayerNode::configure_output(), EltwiseLayerNode::configure_output(), StridedSliceLayerNode::configure_output(), FullyConnectedLayerNode::configure_output(), DepthwiseConvolutionLayerNode::configure_output(), ConvolutionLayerNode::configure_output(), UnaryEltwiseLayerNode::configure_output(), FusedDepthwiseConvolutionBatchNormalizationNode::configure_output(), FusedConvolutionBatchNormalizationNode::configure_output(), arm_compute::test::convolution_3d::detail::convolution3d(), arm_compute::detail::convolve_3x3(), arm_compute::coords2index(), CpuQueue::CpuQueue(), arm_compute::graph::create_default_pass_manager(), arm_compute::create_image2d_from_buffer(), CLCompileContext::create_kernel(), arm_compute::graph::backends::detail::create_normalization_layer(), arm_compute::graph::backends::detail::create_print_layer(), VerifyAccessor< D >::create_tensors(), ThreadIdDecorator::decorate(), DotGraphVisitor::default_visit(), arm_compute::test::validation::reference::depth_convert(), ValidateExample::do_setup(), Example::do_setup(), dummy< T, S >::dummy(), arm_compute::cpu::elementwise_comp_op_quantized_broadcast_loop(), arm_compute::cpu::elementwise_comp_op_quantized_loop(), arm_compute::cpu::elementwise_comp_op_quantized_scalar(), arm_compute::cpu::elementwise_comp_op_quantized_signed_broadcast_loop(), arm_compute::cpu::elementwise_comp_op_quantized_signed_loop(), arm_compute::error_on_format_not_in(), PoolingDepthfirst< strategy >::execute(), ICLMemoryRegion::extract_subregion(), IImageLoader::fill_planar_tensor(), NPYLoader::fill_tensor(), CLCompileContext::fp16_supported(), arm_compute::test::validation::reference::fully_connected_layer(), CpuConv2d::get_convolution_method(), ClConv2d::get_convolution_method(), CLDeconvolutionLayer::get_deconvolution_method(), arm_compute::graph_utils::get_detection_output_accessor(), CpuWinogradConv2dTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::get_matrix_stride(), arm_compute::graph_utils::get_output_accessor(), arm_compute::utility::getenv(), SchedulerClock< output_timestamps >::id(), CpuTensor::import(), ClTensor::import(), CpuFloorKernel::infer_window(), TensorAllocator::init(), arm_compute::detail::load_matrix_row(), Logger::Logger(), logistic< T, S >::logistic(), arm_compute::utility::make_array(), CLBufferAllocator::make_region(), CLSubTensorHandle::manage(), NESubTensorHandle::manage(), NETensorHandle::map(), NESubTensorHandle::map(), arm_compute::utils::map(), CLCompileContext::max_local_workgroup_size(), arm_compute::test::validation::reference::max_unpooling_layer_internal(), CpuLogits1DMaxKernel::name(), NEArgMinMaxLayer::NEArgMinMaxLayer(), NEGatherKernel::NEGatherKernel(), IScheduler::num_threads_hint(), arm_compute::cpuinfo::num_threads_hint(), dummy< T, S >::operator()(), arm_compute::utils::parse_ppm_header(), arm_compute::test::validation::reference::pixel_wise_multiplication(), arm_compute::test::validation::reference::pooling_layer(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::preferred_dummy_work_items_support(), ICLOperator::prepare(), INEOperator::prepare(), DotGraphPrinter::print(), ValidateExample::print_parameters(), PrettyPrinter::print_profiler_header(), arm_compute::cpu::qsymm16_neon_activation(), arm_compute::test::validation::reference::reduction_operation(), NEDeviceBackend::release_backend_context(), CLDeviceBackend::release_backend_context(), relu< T, S >::relu(), arm_compute::test::validation::reference::roi_align_layer(), arm_compute::test::validation::reference::roi_pool_layer(), ICPPKernel::run(), NEBitwiseNotKernel::run(), CPPUpsampleKernel::run(), NEBitwiseOrKernel::run(), NEBitwiseXorKernel::run(), NEBitwiseAndKernel::run(), NERemapKernel::run(), NEROIPoolingLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NETileKernel::run(), NEChannelShuffleLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEReverseKernel::run(), NESpaceToDepthLayerKernel::run(), NEPriorBoxLayerKernel::run(), NEFFTScaleKernel::run(), NEComputeAllAnchorsKernel::run(), NEInstanceNormalizationLayerKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CPPTopKVKernel::run(), CPPPermuteKernel::run(), NEReorgLayerKernel::run(), NEFFTDigitReverseKernel::run(), NEMaxUnpoolingLayerKernel::run(), NENormalizationLayerKernel::run(), NERangeKernel::run(), NEMeanStdDevNormalizationKernel::run(), CLComparisonKernel::run(), NEPadLayerKernel::run(), NEFillBorderKernel::run(), NEGatherKernel::run(), NEMinMaxLayerKernel::run(), NESelectKernel::run(), NEFFTRadixStageKernel::run(), NEReductionOperationKernel::run(), NEBoundingBoxTransformKernel::run(), CPPNonMaximumSuppressionKernel::run(), NEStackLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), NEROIAlignLayerKernel::run(), NECropKernel::run(), NEBatchNormalizationLayerKernel::run(), NEFuseBatchNormalizationKernel::run(), NESpaceToBatchLayerKernel::run(), ICLKernel::run(), ICPPKernel::run_nd(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuElementwiseKernel::run_op(), CpuLogits1DMaxKernel::run_op(), CpuDequantizeKernel::run_op(), CpuTransposeKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuCopyKernel::run_op(), CpuReshapeKernel::run_op(), CpuPermuteKernel::run_op(), CpuConcatenateBatchKernel::run_op(), CpuActivationKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuPool2dKernel::run_op(), CpuQuantizeKernel::run_op(), NELogicalKernel::run_op(), CpuElementwiseUnaryKernel::run_op(), CpuFloorKernel::run_op(), CpuConvertFullyConnectedWeightsKernel::run_op(), CpuDirectConv2dKernel::run_op(), CpuScaleKernel::run_op(), CpuConcatenateDepthKernel::run_op(), CpuGemmMatrixAdditionKernel::run_op(), CpuGemmLowpMatrixAReductionKernel::run_op(), CpuDirectConv2dOutputStageKernel::run_op(), CpuSubKernel::run_op(), CpuAddKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuDepthwiseConv2dNativeKernel::run_op(), CpuCastKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), CpuGemmLowpOffsetContributionKernel::run_op(), CpuGemmLowpQuantizeDownInt32ScaleKernel::run_op(), CpuDepthwiseConv2dAssemblyWrapperKernel::run_op(), CpuCol2ImKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run_op(), CpuPool2dAssemblyWrapperKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run_op(), CpuMulKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run_op(), CpuWeightsReshapeKernel::run_op(), ICPPKernel::run_op(), ClMulKernel::run_op(), ClWeightsReshapeKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), CpuIm2ColKernel::run_op(), NEStridedSliceKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), CpuGemmLowpOffsetContributionOutputStageKernel::run_op(), ClComplexMulKernel::run_op(), CpuGemmLowpMatrixBReductionKernel::run_op(), CpuComplexMulKernel::run_op(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), ICLKernel::run_op(), CpuWinogradConv2dTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), IScheduler::run_tagged_workloads(), SingleThreadScheduler::schedule_op(), CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), CLGEMMDefaultTypeMidgard::select_kernel(), arm_compute::cl_gemm::auto_heuristics::select_mlgo_gemm_kernel(), SingleThreadScheduler::set_num_threads(), IScheduler::set_num_threads_with_affinity(), arm_compute::set_wbsm(), arm_compute::detail::single_convolve_3x3_dilation(), square< T, S >::square(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::test::sync_tensor_if_necessary(), CLTuner::tune_kernel_static(), CLTensorAllocator::unmap(), CLFineSVMMemoryRegion::unmap(), arm_compute::utils::unmap(), AccessWindowAutoPadding::update_padding_if_needed(), AccessWindowStatic::update_padding_if_needed(), AccessWindowAutoPadding::update_window_if_needed(), ClFillKernel::validate(), ClElementWiseUnaryKernel::validate(), CpuActivationKernel::validate(), ClSoftmax::validate(), ClCropKernel::validate(), CpuGemmMatrixAdditionKernel::validate(), NEFFTScaleKernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), ClGemmMatrixMultiplyKernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CLFFTScaleKernel::validate(), NEPadLayerKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), ClGemmLowpMatrixAReductionKernel::validate(), NECropKernel::validate(), CpuFullyConnected::validate(), NEPadLayer::validate(), CpuGemmAssemblyDispatch::validate(), CpuGemm::validate(), CpuArithmeticKernel::validate(), ClLogicalBinaryKernel::validate(), NEFFTConvolutionLayer::validate(), ClGemmLowpMatrixBReductionKernel::validate(), ClSaturatedArithmeticKernel::validate(), CpuComparisonKernel::validate(), arm_compute::validate(), arm_compute::graph::backends::detail::validate_node(), arm_compute::test::detail::validate_npy_header(), DataLayerVisitor::visit(), DotGraphVisitor::visit(), and arm_compute::test::validation::reference::winograd_output_transform().