Compute Library
 21.02
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 CLPixelWiseMultiplicationKernel::border_size(), GCNodeValidator::validate(), NENodeValidator::validate(), NEGEMMLowpOutputStage::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:846
FloorUKernelPtr func
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(), CLMultiImage::allocate(), MultiImage::allocate(), OperatorTensor::buffer(), arm_compute::utils::calculate_convolution_padding(), arm_compute::calculate_valid_region_scale(), arm_compute::test::validation::reference::channel_combine(), arm_compute::channel_idx_from_format(), arm_compute::check_value_range(), arm_compute::test::validation::reference::color_convert(), arm_compute::test::validation::reference::compute_reduction_operation(), arm_compute::test::validation::reference::concatenate_layer(), CLGEMMDefaultConfigNativeBifrost::configure(), CLGEMMDefaultConfigNativeMidgard::configure(), CLGEMMDefaultConfigNativeValhall::configure(), CLGEMMDefaultConfigReshapedValhall::configure(), CLGEMMDefaultConfigReshapedRHSOnlyBifrost::configure(), CLGEMMDefaultConfigReshapedRHSOnlyValhall::configure(), CLGEMMDefaultConfigReshapedBifrost::configure(), ClElementWiseUnaryKernel::configure(), NEScale::configure(), CpuConcatenateBatchKernel::configure(), NEWarpPerspective::configure(), ClPoolingKernel::configure(), ClPooling::configure(), CLThresholdKernel::configure(), NEWarpAffine::configure(), CpuConcatenateDepthKernel::configure(), GCDepthwiseConvolutionLayer3x3Kernel::configure(), CpuConcatenate::configure(), GCFillBorderKernel::configure(), NETableLookupKernel::configure(), GCConcatenateLayer::configure(), NEThresholdKernel::configure(), INEWarpKernel::configure(), ClConcatenate::configure(), NEInstanceNormalizationLayerKernel::configure(), NEFFTDigitReverseKernel::configure(), CLBitwiseKernel::configure(), NENormalizationLayerKernel::configure(), CPPPermuteKernel::configure(), GCDirectConvolutionLayerKernel< kernel_size >::configure(), NEColorConvertKernel::configure(), NEQuantizationLayerKernel::configure(), NEDerivativeKernel::configure(), CLMinMaxKernel::configure(), NERangeKernel::configure(), NEMagnitudePhaseKernel< mag_type, phase_type >::configure(), NEMinMaxKernel::configure(), NEFFTRadixStageKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), NEPadLayerKernel::configure(), GCGEMMMatrixMultiplyKernel::configure(), NEDepthwiseConvolutionLayer::configure(), NEDirectConvolutionLayerOutputStageKernel::configure(), NEGatherKernel::configure(), NEGEMMMatrixAdditionKernel::configure(), CLDeconvolutionLayer::configure(), CLColorConvertKernel::configure(), NECropKernel::configure(), GCDirectConvolutionLayer::configure(), CLPadLayerKernel::configure(), CLReductionOperationKernel::configure(), CpuPooling::configure(), CLL2NormalizeLayerKernel::configure(), NEDepthwiseConvolutionLayerNativeKernel::configure(), CLMagnitudePhaseKernel::configure(), NEPadLayer::configure(), CLFillBorderKernel::configure(), CLArgMinMaxLayerKernel::configure(), NECol2ImKernel::configure(), NEWinogradConvolutionLayer::configure(), NEPixelWiseMultiplicationKernel::configure(), CLReductionOperation::configure(), CLDepthwiseConvolutionLayer::configure(), NEIm2ColKernel::configure(), NEHarrisScoreKernel< block_size >::configure(), NEHarrisCorners::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), CLHarrisCorners::configure(), NEConvolutionLayer::configure(), NEEdgeNonMaxSuppressionKernel::configure(), CLConvolutionLayer::configure(), NEMinMaxLocationKernel::configure(), CLGEMM::configure(), NEGEMMLowpOutputStage::configure(), CLGEMMLowpOutputStage::configure(), DetectionPostProcessLayerNode::configure_output(), GenerateProposalsLayerNode::configure_output(), arm_compute::cpu_model_to_string(), CLGEMMKernelSelectionFactory::create(), CLGEMMReshapedKernelConfigurationFactory::create(), CLGEMMReshapedOnlyRHSKernelConfigurationFactory::create(), CLGEMMNativeKernelConfigurationFactory::create(), SchedulerFactory::create(), arm_compute::graph::backends::detail::create_depthwise_convolution_layer< GCDepthwiseConvolutionLayerFunctions, GCTargetInfo >(), arm_compute::graph::backends::detail::create_eltwise_layer(), arm_compute::graph::backends::detail::create_eltwise_layer< GCEltwiseFunctions, GCTargetInfo >(), arm_compute::create_image2d_from_buffer(), MultiImage::create_subimage(), GCDeviceBackend::create_subtensor(), 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_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(), CLMultiImage::init_auto_padding(), MultiImage::init_auto_padding(), arm_compute::test::validation::reference::l2_normalize(), MaliCounter::MaliCounter(), SchedulerClock< output_timestamps >::measurements(), arm_compute::test::validation::reference::non_linear_filter(), arm_compute::num_planes_from_format(), IScheduler::num_threads_hint(), OpenCLClock< output_timestamps >::OpenCLClock(), arm_compute::graph::operator<<(), arm_compute::operator<<(), LutAccessor< T >::operator[](), CLLutAccessor< T >::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(), NEDepthwiseConvolutionLayer::prepare(), CLDepthwiseConvolutionLayer::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(), NEMinMaxKernel::reset(), arm_compute::utils::rounding::round(), ICPPKernel::run(), ICLOperator::run(), INEOperator::run(), NEDequantizationLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NEReverseKernel::run(), NEChannelShuffleLayerKernel::run(), CpuConcatenate::run(), NEComputeAllAnchorsKernel::run(), CPPTopKVKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), ClConcatenate::run(), NEConvertFullyConnectedWeightsKernel::run(), CLScaleKernel::run(), NEFillBorderKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), NEBoundingBoxTransformKernel::run(), NEGEMMMatrixMultiplyKernel::run(), NEDirectConvolutionLayerKernel::run(), NEConvolutionKernel< matrix_size >::run(), NEDepthConvertLayerKernel::run(), CpuPooling::run(), CLReductionOperationKernel::run(), NEROIAlignLayerKernel::run(), NEDepthwiseConvolutionLayer::run(), CLL2NormalizeLayerKernel::run(), NEPadLayer::run(), CLArgMinMaxLayerKernel::run(), CLDepthwiseConvolutionLayer::run(), CLColorConvertKernel::run(), NEGEMMLowpMatrixAReductionKernel::run(), NESeparableConvolutionHorKernel< matrix_size >::run(), CLGEMM::run(), NEGEMMLowpMatrixBReductionKernel::run(), NESeparableConvolutionVertKernel< matrix_size >::run(), NEConvolutionRectangleKernel::run(), CpuReshapeKernel::run_op(), CpuPermuteKernel::run_op(), ClPoolingKernel::run_op(), CpuPoolingKernel::run_op(), arm_compute::save_program_cache_to_file(), arm_compute::test::validation::reference::scale_core(), arm_compute::scaled_dimensions(), CLGEMMDefaultTypeMidgard::select_kernel(), CLGEMMDefaultTypeBifrost::select_kernel(), CLGEMMDefaultTypeValhall::select_kernel(), CLCompileContext::set_context(), IScheduler::set_num_threads_with_affinity(), arm_compute::test::store_value_with_data_type(), arm_compute::test::validation::reference::threshold(), arm_compute::to_string(), CpuConcatenate::validate(), CpuElementwiseUnaryKernel::validate(), ClConcatenate::validate(), CLDeconvolutionLayer::validate(), NEDepthwiseConvolutionLayer::validate(), NEPadLayer::validate(), CLReductionOperation::validate(), CLDepthwiseConvolutionLayer::validate(), CpuArithmeticKernel::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::reference::warp_affine(), arm_compute::test::validation::reference::warp_perspective(), 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(), Logger::add_printer(), ICLKernel::add_tensor_argument(), Window::adjust(), arm_compute::adjust_down(), arm_compute::adjust_up(), arm_compute::adjust_vec_size(), arm_compute::graph::detail::all_inputs_are_visited(), ArrayAccessor< T >::at(), CLArrayAccessor< T >::at(), IArray< NELKInternalKeypoint >::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(), CLArray< cl_int >::cl_buffer(), CLSubTensor::cl_buffer(), CLMultiHOG::cl_model(), arm_compute::cl_winograd_convolution_layer_supported(), IDistribution::clear(), Lut::clear(), 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(), StackLayerNode::compute_output_descriptor(), ConcatenateLayerNode::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(), GCScaleKernel::configure(), ClFloorKernel::configure(), ClReshapeKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), GCGEMMMatrixAccumulateBiasesKernel::configure(), CLTableLookupKernel::configure(), ClActivationKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CLStridedSliceKernel::configure(), CLTransposeKernel::configure(), CLWarpPerspectiveKernel::configure(), ClHeightConcatenateKernel::configure(), ClPoolingKernel::configure(), ClWidthConcatenateKernel::configure(), CLScaleKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), CLWarpAffineKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), GCDepthwiseConvolutionLayer3x3Kernel::configure(), CpuConcatenate::configure(), GCFillBorderKernel::configure(), GCGEMMMatrixAdditionKernel::configure(), NEGaussianPyramidHorKernel::configure(), GCConcatenateLayer::configure(), NETableLookupKernel::configure(), CPPSortEuclideanDistanceKernel::configure(), CLDequantizationLayerKernel::configure(), ClConcatenate::configure(), CLBitwiseKernel::configure(), CpuPoolingAssemblyDispatch::configure(), CLGaussianPyramidHorKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), GCDirectConvolutionLayerKernel< kernel_size >::configure(), GCDepthConcatenateLayerKernel::configure(), GCConvolutionLayerReshapeWeights::configure(), GCDepthwiseConvolutionLayer3x3::configure(), GCNormalizationLayer::configure(), NEChannelExtractKernel::configure(), NEHOGOrientationBinningKernel::configure(), CLHistogramKernel::configure(), CLSelectKernel::configure(), CLReverseKernel::configure(), ClPermuteKernel::configure(), CLBatchToSpaceLayerKernel::configure(), CLDepthToSpaceLayerKernel::configure(), GCSoftmaxLayer::configure(), NEDerivativeKernel::configure(), CLMinMaxKernel::configure(), CLSpaceToDepthLayerKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), NEFillArrayKernel::configure(), CLComputeAllAnchorsKernel::configure(), NEMagnitudePhaseKernel< mag_type, phase_type >::configure(), NEMinMaxKernel::configure(), NESobel5x5HorKernel::configure(), NESobel7x7HorKernel::configure(), CLGatherKernel::configure(), NEConcatenateLayer::configure(), NEHistogram::configure(), CLFFTScaleKernel::configure(), NEMeanStdDevKernel::configure(), NENonLinearFilterKernel::configure(), CLNonLinearFilterKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLSpaceToBatchLayerKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), CPPDetectionWindowNonMaximaSuppressionKernel::configure(), NEChannelCombineKernel::configure(), NEHOGDetectorKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), CLChannelExtractKernel::configure(), CLFFTDigitReverseKernel::configure(), NEGatherKernel::configure(), CLHOGOrientationBinningKernel::configure(), CLLKTrackerInitKernel::configure(), CLQuantizationLayerKernel::configure(), CLReorgLayerKernel::configure(), CPPCornerCandidatesKernel::configure(), CLDerivativeKernel::configure(), NEROIPoolingLayerKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), CLSobel3x3Kernel::configure(), CLColorConvertKernel::configure(), NECumulativeDistributionKernel::configure(), CLRangeKernel::configure(), CLSobel5x5HorKernel::configure(), CLSobel7x7HorKernel::configure(), NEFFT1D::configure(), CLMeanStdDevKernel::configure(), CLPadLayerKernel::configure(), CLConvertFullyConnectedWeightsKernel::configure(), NEDerivative::configure(), CLFFTRadixStageKernel::configure(), NESobel3x3Kernel::configure(), NEScharr3x3Kernel::configure(), CLConvolutionKernel< matrix_size >::configure(), CpuPooling::configure(), NEHistogramKernel::configure(), CLBoundingBoxTransformKernel::configure(), NEHOGDescriptor::configure(), CLGEMMLowpMatrixMultiplyNativeKernel::configure(), CLMagnitudePhaseKernel::configure(), CLFFT1D::configure(), NEGEMMInterleave4x4Kernel::configure(), CLFillBorderKernel::configure(), CLDepthConvertLayerKernel::configure(), NEFillBorderKernel::configure(), CLGEMMReshapeLHSMatrixKernel::configure(), GCWeightsReshapeKernel::configure(), CLArgMinMaxLayerKernel::configure(), NEFastCorners::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleKernel::configure(), CLROIPoolingLayerKernel::configure(), CLHOGDescriptor::configure(), NEColorConvertKernel::configure(), CLNormalizationLayer::configure(), CLDeconvolutionReshapeOutputKernel::configure(), NEConvolutionKernel< matrix_size >::configure(), CLHarrisScoreKernel::configure(), CLROIAlignLayerKernel::configure(), NEDirectConvolutionLayer::configure(), NELaplacianPyramid::configure(), CLHOGDetectorKernel::configure(), CLScharr3x3Kernel::configure(), CLWinogradInputTransformKernel::configure(), CLAccumulateWeightedKernel::configure(), CLBatchNormalizationLayerKernel::configure(), CLFuseBatchNormalizationKernel::configure(), NECannyEdge::configure(), CLGEMMMatrixMultiplyNativeKernel::configure(), CLWinogradFilterTransformKernel::configure(), CLLaplacianPyramid::configure(), CLGEMMLowpMatrixMultiplyReshapedKernel::configure(), CLGEMMMatrixMultiplyKernel::configure(), CLConcatenateLayer::configure(), NEOpticalFlow::configure(), CLGEMMLowpOffsetContributionKernel::configure(), CLWinogradOutputTransformKernel::configure(), CLFastCorners::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLCannyEdge::configure(), CLMinMaxLocation::configure(), GCFullyConnectedLayer::configure(), NEGEMM::configure(), NELaplacianReconstruct::configure(), CLLKTrackerFinalizeKernel::configure(), NEHarrisScoreKernel< block_size >::configure(), NEHOGMultiDetection::configure(), CLGEMMLowpOffsetContributionOutputStageKernel::configure(), NEHarrisCorners::configure(), NEGaussianPyramidVertKernel::configure(), CLWeightsReshapeKernel::configure(), CLLaplacianReconstruct::configure(), CLIm2ColKernel::configure(), CLGaussianPyramidVertKernel::configure(), CLHistogramBorderKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLHarrisCorners::configure(), NEAccumulateWeightedKernel::configure(), CLGEMMLowpMatrixAReductionKernel::configure(), NEGaussianPyramidHalf::configure(), CLAccumulateSquaredKernel::configure(), CLGaussianPyramidHalf::configure(), NESobel5x5VertKernel::configure(), CLHOGBlockNormalizationKernel::configure(), GCConvolutionLayer::configure(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLHOGMultiDetection::configure(), CLMinMaxLocationKernel::configure(), CLDirectDeconvolutionLayer::configure(), CLSeparableConvolutionHorKernel< matrix_size >::configure(), NESobel7x7VertKernel::configure(), NEConvolutionSquare< matrix_size >::configure(), CLOpticalFlow::configure(), NEHOGBlockNormalizationKernel::configure(), CLCopyToArrayKernel::configure(), CLSobel5x5VertKernel::configure(), CLSobel7x7VertKernel::configure(), CLConvolutionSquare< matrix_size >::configure(), CLConvolutionLayer::configure(), CLGaussianPyramidOrb::configure(), NEMinMaxLocationKernel::configure(), CLLogits1DNormKernel::configure(), CLLKTrackerStage0Kernel::configure(), NEGaussianPyramidOrb::configure(), ClSaturatedArithmeticKernel::configure(), CLSeparableConvolutionVertKernel< matrix_size >::configure(), CLGEMMLowpMatrixBReductionKernel::configure(), NEAccumulateSquaredKernel::configure(), ClArithmeticKernel::configure(), NESeparableConvolutionVertKernel< matrix_size >::configure(), CLLKTrackerStage1Kernel::configure(), CLConvolutionRectangleKernel::configure(), NEConvolutionRectangleKernel::configure(), arm_compute::cl_gemm::configure_lhs_rhs_info(), NEDeviceBackend::configure_node(), GCDeviceBackend::configure_node(), CLDeviceBackend::configure_node(), NormalizePlanarYUVLayerNode::configure_output(), PReluLayerNode::configure_output(), FlattenLayerNode::configure_output(), ReshapeLayerNode::configure_output(), DequantizationLayerNode::configure_output(), NormalizationLayerNode::configure_output(), SoftmaxLayerNode::configure_output(), ChannelShuffleLayerNode::configure_output(), DetectionPostProcessLayerNode::configure_output(), BoundingBoxTransformLayerNode::configure_output(), GenerateProposalsLayerNode::configure_output(), PermuteLayerNode::configure_output(), QuantizationLayerNode::configure_output(), ResizeLayerNode::configure_output(), ActivationLayerNode::configure_output(), DummyNode::configure_output(), PadLayerNode::configure_output(), ReductionLayerNode::configure_output(), ROIAlignLayerNode::configure_output(), DepthToSpaceLayerNode::configure_output(), PoolingLayerNode::configure_output(), PriorBoxLayerNode::configure_output(), ReorgLayerNode::configure_output(), DetectionOutputLayerNode::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(), 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_eltwise_layer< GCEltwiseFunctions, GCTargetInfo >(), 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(), BlobLifetimeManager::create_pool(), OffsetLifetimeManager::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(), GCDeviceBackend::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(), arm_compute::scale_helpers::delta_bilinear_c1_quantized(), arm_compute::scale_helpers::delta_linear_c1_x(), arm_compute::scale_helpers::delta_linear_c1_y(), arm_compute::test::validation::reference::depth_to_space(), arm_compute::test::validation::reference::depthconcatenate_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::test::validation::for(), SubTensorInfo::format(), PReluLayerNode::forward_descriptors(), NormalizePlanarYUVLayerNode::forward_descriptors(), FlattenLayerNode::forward_descriptors(), ReshapeLayerNode::forward_descriptors(), ConstNode::forward_descriptors(), InputNode::forward_descriptors(), DequantizationLayerNode::forward_descriptors(), NormalizationLayerNode::forward_descriptors(), DetectionPostProcessLayerNode::forward_descriptors(), SoftmaxLayerNode::forward_descriptors(), ChannelShuffleLayerNode::forward_descriptors(), GenerateProposalsLayerNode::forward_descriptors(), BoundingBoxTransformLayerNode::forward_descriptors(), PermuteLayerNode::forward_descriptors(), QuantizationLayerNode::forward_descriptors(), ResizeLayerNode::forward_descriptors(), ActivationLayerNode::forward_descriptors(), DummyNode::forward_descriptors(), PadLayerNode::forward_descriptors(), ReductionLayerNode::forward_descriptors(), ROIAlignLayerNode::forward_descriptors(), DepthToSpaceLayerNode::forward_descriptors(), PriorBoxLayerNode::forward_descriptors(), PoolingLayerNode::forward_descriptors(), ReorgLayerNode::forward_descriptors(), DetectionOutputLayerNode::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(), GCBufferAllocator::free(), CLBufferAllocator::free(), CLHOG::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::test::generate_random_keypoints(), arm_compute::graph::backends::detail::get_backing_tensor(), arm_compute::graph::get_driving_nodes(), arm_compute::quantization::get_invsqrt_quantized_multiplier_exp(), Pyramid::get_pyramid_level(), CLPyramid::get_pyramid_level(), FileImageFeeder::get_row(), MemoryImageFeeder::get_row(), arm_compute::test::validation::get_tile(), SubTensorInfo::has_padding(), arm_compute::test::validation::reference::hog_detector(), arm_compute::test::validation::reference::hog_multi_detection(), arm_compute::test::validation::reference::im2col_nchw(), arm_compute::test::validation::reference::im2col_nhwc(), Iterator::increment(), Dimensions< size_t >::increment(), CpuFloorKernel::infer_window(), CLHOG::init(), TensorAllocator::init(), PyramidInfo::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(), IGCKernel::kernel(), Framework::log_failed_expectation(), Logger::Logger(), main(), MemoryGroup::manage(), CLHOG::map(), ICLDistribution1D::map(), CLLutAllocator::map(), GCTensorAllocator::map(), CLTensorAllocator::map(), GCBufferMemoryRegion::map(), CLBufferMemoryRegion::map(), CLCoarseSVMMemoryRegion::map(), BlobLifetimeManager::mapping_type(), OffsetLifetimeManager::mapping_type(), arm_compute::test::validation::matrix_multiply(), arm_compute::test::validation::reference::max_unpooling_layer_internal(), SchedulerClock< output_timestamps >::measurements(), MultiHOG::model(), InPlaceOperationMutator::mutate(), NodeFusionMutator::mutate(), GroupedConvolutionMutator::mutate(), NESubTensorHandle::NESubTensorHandle(), NETableLookupKernel::NETableLookupKernel(), arm_compute::test::validation::reference::non_linear_filter(), HOGInfo::num_block_positions_per_image(), HOGInfo::num_cells_per_block(), HOGInfo::num_cells_per_block_stride(), 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::scale_helpers::pixel_bilinear_c1(), arm_compute::scale_helpers::pixel_bilinear_c1_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(), GCFullyConnectedLayer::prepare(), GCGEMM::prepare(), NEGEMM::prepare(), NEFFTConvolutionLayer::prepare(), NEGEMMLowpMatrixMultiplyCore::prepare(), CLGEMMLowpMatrixMultiplyCore::prepare(), NEDeconvolutionLayer::prepare(), NEGEMMAssemblyDispatch::prepare(), GCConvolutionLayer::prepare(), CLGEMMDeconvolutionLayer::prepare(), CLFFTConvolutionLayer::prepare(), CLDirectDeconvolutionLayer::prepare(), NEFullyConnectedLayer::prepare(), CLFullyConnectedLayer::prepare(), CLGEMMConvolutionLayer::prepare(), arm_compute::graph::detail::prepare_all_tasks(), DotGraphPrinter::print(), IArray< NELKInternalKeypoint >::push_back(), arm_compute::test::validation::reference::qlstm_layer_normalization(), SubTensorInfo::quantization_info(), QuantizationLayerNode::QuantizationLayerNode(), 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< NELKInternalKeypoint >::resize(), arm_compute::test::validation::reference::reverse(), arm_compute::test::validation::reference::ridft_2d(), IGCSimpleFunction::run(), NEGaussianPyramidHorKernel::run(), NETableLookupKernel::run(), INEWarpKernel::run(), NERemapKernel::run(), CLHistogramKernel::run(), NEHOGOrientationBinningKernel::run(), NEDerivativeKernel::run(), NEAbsoluteDifferenceKernel::run(), NENonMaximaSuppression3x3Kernel::run(), NEMagnitudePhaseKernel< mag_type, phase_type >::run(), CPPDetectionWindowNonMaximaSuppressionKernel::run(), CPPDetectionOutputLayer::run(), NENonLinearFilterKernel::run(), NEGradientKernel::run(), NEHOGDetectorKernel::run(), NEMinMaxKernel::run(), NECumulativeDistributionKernel::run(), NEChannelExtractKernel::run(), NEThresholdKernel::run(), NETransposeKernel::run(), NEQLSTMLayerNormalizationKernel::run(), NEQuantizationLayerKernel::run(), ClConcatenate::run(), NEChannelCombineKernel::run(), NERangeKernel::run(), NENormalizationLayerKernel::run(), NEMaxUnpoolingLayerKernel::run(), NEMeanStdDevNormalizationKernel::run(), NEGatherKernel::run(), NESelectKernel::run(), GCIm2ColKernel::run(), CLMeanStdDev::run(), NEColorConvertKernel::run(), NEHistogramKernel::run(), NEScaleKernel::run(), NEDirectConvolutionLayerKernel::run(), NEDirectConvolutionLayerOutputStageKernel::run(), NEGEMMInterleave4x4Kernel::run(), NEDepthConvertLayerKernel::run(), NECannyEdge::run(), NECropKernel::run(), NEBatchNormalizationLayerKernel::run(), NEHarrisScoreKernel< block_size >::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), NEGaussianPyramidVertKernel::run(), CLCol2ImKernel::run(), CLGaussianPyramidVertKernel::run(), NEDepthwiseConvolutionAssemblyDispatch::run(), CLWinogradInputTransformKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), NEGEMMAssemblyDispatch::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), NEHOGBlockNormalizationKernel::run(), NEEdgeNonMaxSuppressionKernel::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), NEMinMaxLocationKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), NEConvolutionRectangleKernel::run(), CpuFillKernel::run_op(), CpuActivationKernel::run_op(), CpuElementwiseKernel::run_op(), NELogicalKernel::run_op(), CpuConcatenateBatchKernel::run_op(), ClActivationKernel::run_op(), CpuFloorKernel::run_op(), CpuPoolingKernel::run_op(), CpuConcatenateDepthKernel::run_op(), CpuElementwiseUnaryKernel::run_op(), CpuAddKernel::run_op(), CpuPoolingAssemblyWrapperKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), NEPixelWiseMultiplicationKernel::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(), Window::set(), GCTensorAllocator::set_associated_memory_group(), TensorAllocator::set_associated_memory_group(), CLTensorAllocator::set_associated_memory_group(), Window::set_broadcasted(), CPUInfo::set_cpu_model(), SubTensorInfo::set_data_layout(), SubTensorInfo::set_data_type(), Window::set_dimension_step(), SubTensorInfo::set_format(), TensorInfo::set_format(), 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(), arm_compute::test::shape_to_valid_region_gaussian_pyramid_half(), 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(), CLHOG::unmap(), CLDistribution1D::unmap(), ICLDistribution1D::unmap(), CLLutAllocator::unmap(), CLSubTensor::unmap(), GCTensorAllocator::unmap(), CLTensorAllocator::unmap(), GCBufferMemoryRegion::unmap(), CLBufferMemoryRegion::unmap(), CLCoarseSVMMemoryRegion::unmap(), arm_compute::test::validation::reference::unstack(), AccessWindowTranspose::update_padding_if_needed(), AccessWindowRectangle::update_padding_if_needed(), NEBoundingBoxTransformKernel::validate(), Window::validate(), CLGEMMConvolutionLayer::validate(), NEDeviceBackend::validate_node(), GCDeviceBackend::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(), arm_compute::test::validation::zeros(), and BlobMemoryPool::~BlobMemoryPool().

◆ 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_reorg_output_shape(), GCPixelWiseMultiplicationKernel::configure(), NERemap::configure(), GCNormalizationLayerKernel::configure(), GCGEMMTranspose1xWKernel::configure(), CLHistogramKernel::configure(), GCDirectConvolutionLayerKernel< kernel_size >::configure(), NEAbsoluteDifferenceKernel::configure(), GCSoftmaxLayer::configure(), NEFastCornersKernel::configure(), NEGradientKernel::configure(), CLGradientKernel::configure(), CLNonLinearFilterKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), CLAbsoluteDifferenceKernel::configure(), CLRemapKernel::configure(), CLRemap::configure(), CLFastCornersKernel::configure(), NEWinogradConvolutionLayer::configure(), CLWinogradConvolutionLayer::configure(), CLHistogramBorderKernel::configure(), NEGEMMLowpMatrixAReductionKernel::configure(), GCConvolutionLayer::configure(), NEGEMMLowpMatrixBReductionKernel::configure(), NEGEMMConvolutionLayer::configure(), CLGEMMConvolutionLayer::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(), arm_compute::create_opengl_display_and_context(), 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(), CLKernelLibrary::get_program(), 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::utils::cpu::get_threads_hint(), arm_compute::test::validation::reference::hog_detector(), IDistribution1D::IDistribution1D(), arm_compute::test::index2coord(), arm_compute::index2coords(), HOGInfo::init(), PyramidInfo::init(), CLScheduler::init(), GraphManager::invalidate_graph(), CLSymbols::load_default(), PoolManager::lock_pool(), main(), CLCompileContext::max_local_workgroup_size(), GCScheduler::memory_barrier(), MemoryManagerOnDemand::MemoryManagerOnDemand(), arm_compute::num_of_elements_in_range(), IScheduler::num_threads_hint(), PMU::open(), TokenStream::operator bool(), arm_compute::utils::parse_ppm_header(), TokenStream::peek(), MemoryManagerOnDemand::populate(), HeuristicTree::query(), PoolManager::register_pool(), PoolManager::release_pool(), arm_compute::test::validation::reference::remap(), IGCSimpleFunction::run(), ICLSimpleFunction::run(), IWeightsManager::run(), ClPooling::run(), NECumulativeDistributionKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CpuPoolingAssemblyDispatch::run(), CpuSoftmaxGeneric< IS_LOG >::run(), NELaplacianPyramid::run(), NECannyEdge::run(), CLLaplacianPyramid::run(), NEOpticalFlow::run(), CLFastCorners::run(), NECropResize::run(), NELaplacianReconstruct::run(), NEHOGMultiDetection::run(), NEHarrisCorners::run(), CLLaplacianReconstruct::run(), CLHarrisCorners::run(), NEGaussianPyramidHalf::run(), CLGaussianPyramidHalf::run(), CLHOGMultiDetection::run(), CLCropResize::run(), CLSynthetizeFunctionInitOutputWithZeroAndWithZeroConstantBorder< K, bordersize >::run(), CLOpticalFlow::run(), CLGaussianPyramidOrb::run(), NEGaussianPyramidOrb::run(), arm_compute::utils::run_example(), OMPScheduler::schedule_op(), arm_compute::graph_utils::set_target_hint(), ISimpleLifetimeManager::start_lifetime(), TokenStream::take(), PoolManager::unlock_pool(), 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

◆ ARM_COMPUTE_ERROR_THROW_ON

#define ARM_COMPUTE_ERROR_THROW_ON (   status)

Definition at line 455 of file Error.h.

Referenced by CpuFloorKernel::configure(), CpuReshapeKernel::configure(), CpuCopyKernel::configure(), CpuLogits1DMaxKernel::configure(), ClFloorKernel::configure(), ClReshapeKernel::configure(), CpuPermuteKernel::configure(), ClCopyKernel::configure(), ClElementWiseUnaryKernel::configure(), NELogicalKernel::configure(), CpuConcatenateWidthKernel::configure(), CpuActivationKernel::configure(), CpuConcatenateHeightKernel::configure(), NEScale::configure(), CLStridedSliceKernel::configure(), CLTransposeKernel::configure(), CpuConcatenateBatchKernel::configure(), CpuPoolingKernel::configure(), ClActivationKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CLScaleKernel::configure(), ClHeightConcatenateKernel::configure(), ClPoolingKernel::configure(), ClWidthConcatenateKernel::configure(), CPPDetectionOutputLayer::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), ClFillKernel::configure(), NEDequantizationLayerKernel::configure(), CpuConcatenateDepthKernel::configure(), CpuConcatenate::configure(), NEReverseKernel::configure(), NETileKernel::configure(), GCPoolingLayerKernel::configure(), NEBatchToSpaceLayerKernel::configure(), NEConvertQuantizedSignednessKernel::configure(), NEDepthToSpaceLayerKernel::configure(), NEPriorBoxLayerKernel::configure(), NESpaceToDepthLayerKernel::configure(), GCNormalizePlanarYUVLayerKernel::configure(), NEChannelShuffleLayerKernel::configure(), NEComputeAllAnchorsKernel::configure(), NEInstanceNormalizationLayerKernel::configure(), CPPTopKVKernel::configure(), NEReorgLayerKernel::configure(), NEThresholdKernel::configure(), CLDequantizationLayerKernel::configure(), GCArithmeticAdditionKernel::configure(), ClConcatenate::configure(), NEFFTDigitReverseKernel::configure(), NEFFTScaleKernel::configure(), CLDepthwiseConvolutionLayerReshapeWeightsKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), NESpaceToBatchLayerKernel::configure(), CLMinMaxLayerKernel::configure(), CLChannelShuffleLayerKernel::configure(), CLSelectKernel::configure(), CPPPermuteKernel::configure(), NENormalizationLayerKernel::configure(), CpuAddKernel::configure(), NETransposeKernel::configure(), CpuElementwiseUnaryKernel::configure(), CpuSubKernel::configure(), GCBatchNormalizationLayerKernel::configure(), CLReverseKernel::configure(), CLSpaceToDepthLayerKernel::configure(), NEQuantizationLayerKernel::configure(), CLDepthToSpaceLayerKernel::configure(), CLBatchToSpaceLayerKernel::configure(), NEReduceMean::configure(), ClPermuteKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), NEMaxUnpoolingLayerKernel::configure(), NERangeKernel::configure(), CLComputeAllAnchorsKernel::configure(), NEFFT2D::configure(), NERNNLayer::configure(), CLSpaceToBatchLayerKernel::configure(), NEFFTRadixStageKernel::configure(), CLFFTScaleKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), NEUnstack::configure(), CLGatherKernel::configure(), CLNormalizationLayerKernel::configure(), CLReduceMean::configure(), CLQLSTMLayerNormalizationKernel::configure(), NEBoundingBoxTransformKernel::configure(), CLTileKernel::configure(), NEMinMaxLayerKernel::configure(), NEPadLayerKernel::configure(), NEScaleKernel::configure(), CLComparisonKernel::configure(), NEStackLayerKernel::configure(), CLUnstack::configure(), GCGEMMMatrixMultiplyKernel::configure(), NEReductionOperation::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), NEConvertFullyConnectedWeightsKernel::configure(), NEDirectConvolutionLayerOutputStageKernel::configure(), NEDirectConvolutionLayerKernel::configure(), NEGatherKernel::configure(), NEGEMMMatrixAdditionKernel::configure(), CPPNonMaximumSuppressionKernel::configure(), CLFFTDigitReverseKernel::configure(), NEReductionOperationKernel::configure(), NESelectKernel::configure(), CPPDetectionPostProcessLayer::configure(), NEDepthwiseConvolutionAssemblyDispatch::configure(), CLQuantizationLayerKernel::configure(), CLReorgLayerKernel::configure(), NEFuseBatchNormalizationKernel::configure(), NEGEMMMatrixMultiplyKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), CLMeanStdDevNormalizationKernel::configure(), NECropResize::configure(), ClCropKernel::configure(), NECropKernel::configure(), CLLogits1DMaxShiftExpSumKernel::configure(), NEROIAlignLayerKernel::configure(), CLRangeKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), NEBatchNormalizationLayerKernel::configure(), NEFFT1D::configure(), NEGEMMLowpMatrixMultiplyKernel::configure(), NEStridedSliceKernel::configure(), CLMeanStdDevKernel::configure(), CLPadLayerKernel::configure(), CpuSoftmaxGeneric< IS_LOG >::configure(), NEDetectionPostProcessLayer::configure(), CLConvertFullyConnectedWeightsKernel::configure(), CLFFTRadixStageKernel::configure(), CLPriorBoxLayerKernel::configure(), CLReductionOperationKernel::configure(), CLFFT2D::configure(), CLL2NormalizeLayerKernel::configure(), NEDepthConvertLayerKernel::configure(), CLBoundingBoxTransformKernel::configure(), NEConvolutionLayerReshapeWeights::configure(), CLRNNLayer::configure(), NEDepthwiseConvolutionLayerNativeKernel::configure(), NEGEMMLowpQuantizeDownInt32ScaleKernel::configure(), CLGEMMLowpMatrixMultiplyNativeKernel::configure(), NEGEMMInterleave4x4Kernel::configure(), NEGEMMLowpOffsetContributionKernel::configure(), NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::configure(), NEPadLayer::configure(), CLFFT1D::configure(), CLStackLayerKernel::configure(), CLGEMMReshapeLHSMatrixKernel::configure(), NEGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::configure(), NEGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::configure(), CLDepthConvertLayerKernel::configure(), CLDepthwiseConvolutionLayer3x3NCHWKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleKernel::configure(), NEGEMMConv2d::configure(), CLArgMinMaxLayerKernel::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::configure(), NECol2ImKernel::configure(), GCGEMM::configure(), CLROIPoolingLayerKernel::configure(), NEWinogradConvolutionLayer::configure(), GCIm2ColKernel::configure(), CLPadLayer::configure(), CLDeconvolutionReshapeOutputKernel::configure(), NEPixelWiseMultiplicationKernel::configure(), CpuLogits1DSoftmaxKernel< IS_LOG >::configure(), CLROIAlignLayerKernel::configure(), CLWinogradInputTransformKernel::configure(), CLFuseBatchNormalizationKernel::configure(), CLCol2ImKernel::configure(), CLBatchNormalizationLayerKernel::configure(), NEWeightsReshapeKernel::configure(), CLGEMMMatrixMultiplyNativeKernel::configure(), CLConvolutionLayerReshapeWeights::configure(), CLWinogradFilterTransformKernel::configure(), CLGEMMMatrixMultiplyKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedKernel::configure(), CLGEMMLowpOffsetContributionKernel::configure(), NEGenerateProposalsLayer::configure(), CLWinogradOutputTransformKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), NEIm2ColKernel::configure(), CLSoftmaxLayerGeneric< IS_LOG >::configure(), NEGEMM::configure(), CLDirectConvolutionLayerKernel::configure(), NEGEMMTranspose1xWKernel::configure(), CLGEMMLowpOffsetContributionOutputStageKernel::configure(), CLWeightsReshapeKernel::configure(), NEGEMMLowpOffsetContributionOutputStageKernel::configure(), CLCropResize::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), CLGEMMLowpMatrixMultiplyCore::configure(), CLGEMMReshapeRHSMatrixKernel::configure(), CLIm2ColKernel::configure(), NEDeconvolutionLayer::configure(), CLPixelWiseMultiplicationKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::configure(), CpuArithmeticKernel::configure(), NEGEMMLowpMatrixAReductionKernel::configure(), NEConvolutionLayer::configure(), CLFFTConvolutionLayer::configure(), CLGEMMLowpMatrixAReductionKernel::configure(), ClLogicalBinaryKernel::configure(), CLGenerateProposalsLayer::configure(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLGEMMDeconvolutionLayer::configure(), CLDirectDeconvolutionLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLGEMMMatrixMultiplyReshapedKernel::configure(), CLConvolutionLayer::configure(), CPPSplit< CLSlice, ICLTensor >::configure(), CLLogits1DNormKernel::configure(), CpuDivisionKernel::configure(), ClSaturatedArithmeticKernel::configure(), NEFullyConnectedLayer::configure(), CLLSTMLayer::configure(), CLGEMMLowpMatrixBReductionKernel::configure(), CLGEMM::configure(), CLQLSTMLayer::configure(), NEGEMMLowpMatrixBReductionKernel::configure(), NEComplexPixelWiseMultiplicationKernel::configure(), CLComplexPixelWiseMultiplicationKernel::configure(), CpuPowerKernel::configure(), CLFullyConnectedLayer::configure(), ClArithmeticKernel::configure(), NEGEMMConvolutionLayer::configure(), CpuComparisonKernel::configure(), CLGEMMConvolutionLayer::configure(), NEGEMMLowpOutputStage::configure(), and ICPPSimpleKernel::ICPPSimpleKernel().

◆ ARM_COMPUTE_ERROR_VAR

◆ 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 CpuPoolingAssemblyWrapperKernel::validate(), NEWinogradConvolutionLayer::validate(), CLGEMM::validate(), arm_compute::validate_arguments(), 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 CLPixelWiseMultiplicationKernel::border_size(), 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(), arm_compute::graph::set_tensor_accessor(), CPPSplit< CLSlice, ICLTensor >::validate(), NEScale::validate(), NELogicalKernel::validate(), GCArithmeticAddition::validate(), ClFillKernel::validate(), NESlice::validate(), CpuConcatenate::validate(), SplitLayerNode::validate(), CLSlice::validate(), NEElementwiseMax::validate(), NEQLSTMLayerNormalizationKernel::validate(), CpuAdd::validate(), CpuElementwiseUnaryKernel::validate(), ClConcatenate::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), NEUnstack::validate(), CLUnstack::validate(), NEConvertFullyConnectedWeightsKernel::validate(), NERNNLayer::validate(), NESelectKernel::validate(), CpuPoolingAssemblyWrapperKernel::validate(), NEFFT1D::validate(), NEStackLayer::validate(), CLConvertFullyConnectedWeightsKernel::validate(), CpuSub::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), ClCropKernel::validate(), NECropKernel::validate(), CLFFT1D::validate(), NEConvolutionLayerReshapeWeights::validate(), NEDepthwiseConvolutionAssemblyDispatch::validate(), CLRNNLayer::validate(), NEPadLayer::validate(), NECropResize::validate(), CLStackLayer::validate(), NEGEMMConv2d::validate(), CLConvolutionLayerReshapeWeights::validate(), CLSoftmaxLayerGeneric< IS_LOG >::validate(), NEGEMM::validate(), NEGenerateProposalsLayer::validate(), NEPixelWiseMultiplication::validate(), NEFFTConvolutionLayer::validate(), NEGEMMLowpMatrixMultiplyCore::validate(), CLGEMMLowpMatrixMultiplyCore::validate(), NEDeconvolutionLayer::validate(), CLCropResize::validate(), NEElementwiseMin::validate(), CLGEMMDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), CLFFTConvolutionLayer::validate(), CLGenerateProposalsLayer::validate(), CLDirectDeconvolutionLayer::validate(), NEComplexPixelWiseMultiplication::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), ClSaturatedArithmeticKernel::validate(), NEElementwiseSquaredDiff::validate(), NEQLSTMLayer::validate(), NEFullyConnectedLayer::validate(), CLFullyConnectedLayer::validate(), CLLSTMLayer::validate(), ClArithmeticKernel::validate(), arm_compute::validate(), NEElementwiseDivision::validate(), CLQLSTMLayer::validate(), NEGEMMConvolutionLayer::validate(), CLGEMMConvolutionLayer::validate(), NEElementwisePower::validate(), NEGEMMLowpOutputStage::validate(), INEWinogradLayerTransformWeightsKernel::validate(), arm_compute::graph::backends::detail::validate_arg_min_max_layer(), arm_compute::validate_arguments(), 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
FloorUKernelPtr func

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_invalid_multi_hog(), 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:846
FloorUKernelPtr func
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 CLPixelWiseMultiplicationKernel::border_size(), NEPixelWiseMultiplicationKernel::run_op(), NELogicalKernel::validate(), SplitLayerNode::validate(), NEReductionOperation::validate(), CpuPoolingAssemblyWrapperKernel::validate(), NEArgMinMaxLayer::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), CLArgMinMaxLayer::validate(), CLReductionOperation::validate(), NEGEMMConv2d::validate(), NEGEMMAssemblyDispatch::validate(), CLSoftmaxLayerGeneric< IS_LOG >::validate(), NEDirectConvolutionLayer::validate(), NEGEMM::validate(), NEWinogradConvolutionLayer::validate(), CLGEMMLowpMatrixMultiplyCore::validate(), NEGEMMLowpMatrixMultiplyCore::validate(), NEDeconvolutionLayer::validate(), CLWinogradConvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), NEConvolutionLayer::validate(), CLConvolutionLayer::validate(), NEQLSTMLayer::validate(), CLQLSTMLayer::validate(), NEGEMMConvolutionLayer::validate(), CLGEMMConvolutionLayer::validate(), NEGEMMLowpOutputStage::validate(), INEWinogradLayerTransformWeightsKernel::validate(), arm_compute::graph::backends::detail::validate_convolution_layer(), and arm_compute::cl_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:846
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(), ICPPSimpleKernel::ICPPSimpleKernel(), CpuFloorKernel::validate(), CpuReshapeKernel::validate(), CpuLogits1DMaxKernel::validate(), CpuCopyKernel::validate(), CPPSplit< CLSlice, ICLTensor >::validate(), ClFloorKernel::validate(), ClReshapeKernel::validate(), ClCopyKernel::validate(), ClElementWiseUnaryKernel::validate(), CpuConcatenateHeightKernel::validate(), CpuConcatenateWidthKernel::validate(), NEQuantizationLayer::validate(), NEScale::validate(), CLTransposeKernel::validate(), CpuActivationKernel::validate(), CpuPermuteKernel::validate(), ClWidthConcatenate2TensorsKernel::validate(), CpuConcatenateBatchKernel::validate(), ClWidthConcatenateKernel::validate(), ClActivationKernel::validate(), ClHeightConcatenateKernel::validate(), ClPoolingKernel::validate(), CLScaleKernel::validate(), CpuPoolingKernel::validate(), NEDequantizationLayerKernel::validate(), CPPDetectionOutputLayer::validate(), ClBatchConcatenateKernel::validate(), ClDepthConcatenateKernel::validate(), ClWidthConcatenate4TensorsKernel::validate(), CpuConcatenateDepthKernel::validate(), NEReshapeLayer::validate(), NEConvertQuantizedSignednessKernel::validate(), NETileKernel::validate(), NECopy::validate(), NEChannelShuffleLayerKernel::validate(), NEDepthToSpaceLayerKernel::validate(), NEReverseKernel::validate(), NESpaceToDepthLayerKernel::validate(), CLDequantizationLayerKernel::validate(), NEPriorBoxLayerKernel::validate(), NEThresholdKernel::validate(), GCPoolingLayerKernel::validate(), NEFFTScaleKernel::validate(), NEComputeAllAnchorsKernel::validate(), NEInstanceNormalizationLayerKernel::validate(), CLStridedSliceKernel::validate(), NETransposeKernel::validate(), GCArithmeticAdditionKernel::validate(), CpuConcatenate::validate(), CLMinMaxLayerKernel::validate(), NESpaceToDepthLayer::validate(), CLChannelShuffleLayerKernel::validate(), NEQuantizationLayerKernel::validate(), NEReorgLayerKernel::validate(), CPPPermuteKernel::validate(), CPPTopKVKernel::validate(), GCNormalizePlanarYUVLayerKernel::validate(), CLDepthwiseConvolutionLayerReshapeWeightsKernel::validate(), CLReverseKernel::validate(), NEFFTDigitReverseKernel::validate(), CLSelectKernel::validate(), CLSpaceToDepthLayerKernel::validate(), CpuAddKernel::validate(), CLDepthToSpaceLayerKernel::validate(), CLReshapeLayer::validate(), NESoftmaxLayerGeneric< IS_LOG >::validate(), ClConcatenate::validate(), NEFFT2D::validate(), NEPermute::validate(), NEROIAlignLayer::validate(), NEUnstack::validate(), CLFFTScaleKernel::validate(), NEFFTRadixStageKernel::validate(), NEMaxUnpoolingLayerKernel::validate(), NENormalizationLayerKernel::validate(), NERangeKernel::validate(), CLComputeAllAnchorsKernel::validate(), CLMaxUnpoolingLayerKernel::validate(), ClPermuteKernel::validate(), CLQLSTMLayerNormalizationKernel::validate(), NEBatchToSpaceLayerKernel::validate(), CLQuantizationLayerKernel::validate(), NEMeanStdDevNormalizationKernel::validate(), NEMinMaxLayerKernel::validate(), CLUnstack::validate(), CLGatherKernel::validate(), CLComparisonKernel::validate(), CLNormalizationLayerKernel::validate(), CLFFTDigitReverseKernel::validate(), NEGatherKernel::validate(), NERNNLayer::validate(), CLTileKernel::validate(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::validate(), NEReductionOperation::validate(), NEGEMMMatrixAdditionKernel::validate(), CLInstanceNormalizationLayerKernel::validate(), NEL2NormalizeLayer::validate(), CLMeanStdDevNormalizationKernel::validate(), NEBoundingBoxTransformKernel::validate(), CLRangeKernel::validate(), CLReorgLayerKernel::validate(), NEGEMMLowpMatrixMultiplyKernel::validate(), CLLogits1DMaxShiftExpSumKernel::validate(), NEPadLayerKernel::validate(), NEReductionOperationKernel::validate(), CPPNonMaximumSuppressionKernel::validate(), NEStackLayer::validate(), GCBatchNormalizationLayerKernel::validate(), GCGEMMMatrixMultiplyKernel::validate(), CLFFTRadixStageKernel::validate(), NENormalizationLayer::validate(), NEScaleKernel::validate(), NEStackLayerKernel::validate(), NEDirectConvolutionLayerKernel::validate(), NEDirectConvolutionLayerOutputStageKernel::validate(), NEGEMMMatrixMultiplyKernel::validate(), CLDeconvolutionLayer::validate(), CLFFT2D::validate(), NESpaceToBatchLayerKernel::validate(), CLNormalizePlanarYUVLayerKernel::validate(), CLPriorBoxLayerKernel::validate(), CLPadLayerKernel::validate(), CPPDetectionPostProcessLayer::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), NEDepthConvertLayerKernel::validate(), NEGEMMInterleave4x4Kernel::validate(), CLReductionOperationKernel::validate(), NEGEMMLowpQuantizeDownInt32ScaleKernel::validate(), NEROIAlignLayerKernel::validate(), NEDetectionPostProcessLayer::validate(), CpuSubKernel::validate(), NESpaceToBatchLayer::validate(), NEBatchNormalizationLayerKernel::validate(), CLL2NormalizeLayerKernel::validate(), CLBoundingBoxTransformKernel::validate(), CLDepthConvertLayerKernel::validate(), CLRNNLayer::validate(), NEFuseBatchNormalizationKernel::validate(), NEGEMMLowpOffsetContributionKernel::validate(), NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::validate(), NEStridedSliceKernel::validate(), NECol2ImKernel::validate(), NECropResize::validate(), CLBatchToSpaceLayerKernel::validate(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::validate(), CLGEMMLowpQuantizeDownInt32ScaleKernel::validate(), NEGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::validate(), NEGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::validate(), CLStackLayerKernel::validate(), NEBatchNormalizationLayer::validate(), CLGEMMLowpMatrixMultiplyNativeKernel::validate(), CLArgMinMaxLayer::validate(), CLStackLayer::validate(), CLROIAlignLayer::validate(), CLArgMinMaxLayerKernel::validate(), NEDepthwiseConvolutionLayerNativeKernel::validate(), CLL2NormalizeLayer::validate(), GCGEMM::validate(), CLGEMMReshapeLHSMatrixKernel::validate(), CLReductionOperation::validate(), CpuLogits1DSoftmaxKernel< IS_LOG >::validate(), CLCol2ImKernel::validate(), CLPadLayer::validate(), NEGEMMConv2d::validate(), CLDeconvolutionReshapeOutputKernel::validate(), CLWinogradInputTransform::validate(), CLROIAlignLayerKernel::validate(), CLSpaceToBatchLayerKernel::validate(), NEWeightsReshapeKernel::validate(), GCIm2ColKernel::validate(), CLDirectConvolutionLayer::validate(), CLBatchNormalizationLayerKernel::validate(), NEGEMMTranspose1xWKernel::validate(), CLDepthwiseConvolutionLayer3x3NHWCKernel::validate(), CLDepthwiseConvolutionLayer3x3NCHWKernel::validate(), CLSoftmaxLayerGeneric< IS_LOG >::validate(), CLGEMMLowpOffsetContributionKernel::validate(), CLWinogradInputTransformKernel::validate(), CLFuseBatchNormalizationKernel::validate(), CLGEMMMatrixMultiplyKernel::validate(), NEDirectConvolutionLayer::validate(), NEWinogradConvolutionLayer::validate(), CLWinogradFilterTransformKernel::validate(), NEGenerateProposalsLayer::validate(), NEGEMM::validate(), NEIm2ColKernel::validate(), CLGEMMMatrixMultiplyNativeKernel::validate(), CLGEMMLowpMatrixMultiplyReshapedKernel::validate(), CLDirectConvolutionLayerKernel::validate(), NEFFTConvolutionLayer::validate(), CLSpaceToBatchLayer::validate(), NEGEMMLowpMatrixMultiplyCore::validate(), CLWeightsReshapeKernel::validate(), CLGEMMLowpMatrixMultiplyCore::validate(), NEDeconvolutionLayer::validate(), NEPixelWiseMultiplicationKernel::validate(), CLWinogradOutputTransformKernel::validate(), NEGEMMLowpOffsetContributionOutputStageKernel::validate(), CLDepthwiseConvolutionLayerNativeKernel::validate(), CpuArithmeticKernel::validate(), CLCropResize::validate(), CLGEMMLowpOffsetContributionOutputStageKernel::validate(), CLIm2ColKernel::validate(), ClLogicalBinaryKernel::validate(), NEGEMMLowpMatrixAReductionKernel::validate(), CLWinogradConvolutionLayer::validate(), CLGEMMLowpMatrixAReductionKernel::validate(), CLGEMMReshapeRHSMatrixKernel::validate(), CLGEMMDeconvolutionLayer::validate(), CLFFTConvolutionLayer::validate(), NELSTMLayerQuantized::validate(), CLGenerateProposalsLayer::validate(), CLDirectDeconvolutionLayer::validate(), NEConvolutionLayer::validate(), CLPixelWiseMultiplicationKernel::validate(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::validate(), NELSTMLayer::validate(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::validate(), CLLogits1DNormKernel::validate(), CLConvolutionLayer::validate(), CLLSTMLayerQuantized::validate(), CpuDivisionKernel::validate(), ClSaturatedArithmeticKernel::validate(), CLGEMMMatrixMultiplyReshapedKernel::validate(), NEQLSTMLayer::validate(), NEFullyConnectedLayer::validate(), CLGEMMLowpMatrixBReductionKernel::validate(), CLGEMM::validate(), NEComplexPixelWiseMultiplicationKernel::validate(), NEGEMMLowpMatrixBReductionKernel::validate(), CLComplexPixelWiseMultiplicationKernel::validate(), CpuPowerKernel::validate(), CLFullyConnectedLayer::validate(), CLLSTMLayer::validate(), ClArithmeticKernel::validate(), NEWinogradLayerTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::validate(), CLQLSTMLayer::validate(), CpuComparisonKernel::validate(), NEGEMMConvolutionLayer::validate(), CLGEMMConvolutionLayer::validate(), NEWinogradLayerTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::validate(), and NEWinogradLayerTransformWeightsKernel< 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
FloorUKernelPtr func

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:846
Status class.
Definition: Error.h:52
void throw_error(Status err)
Throw an std::runtime_error.
Definition: Error.cpp:46
FloorUKernelPtr func
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(), 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(), Allocator::allocate(), GCBufferAllocator::allocate(), CLBufferAllocator::allocate(), calculate_kernel(), arm_compute::calculate_same_pad(), arm_compute::misc::shape_calculator::compute_mm_shape(), AccessWindowAutoPadding::compute_valid_region(), AccessWindowStatic::compute_valid_region(), CLGEMMDefaultConfigReshapedValhall::configure(), CLGEMMDefaultConfigReshapedRHSOnlyBifrost::configure(), CLGEMMDefaultConfigReshapedRHSOnlyValhall::configure(), CLGEMMDefaultConfigNativeBifrost::configure(), CLGEMMDefaultConfigNativeValhall::configure(), CLGEMMDefaultConfigNativeMidgard::configure(), CLGEMMDefaultConfigReshapedBifrost::configure(), GCPixelWiseMultiplication::configure(), CpuConcatenateHeightKernel::configure(), GCArithmeticAddition::configure(), CpuSub::configure(), GCArithmeticAdditionKernel::configure(), CpuAdd::configure(), NEElementwiseMax::configure(), GCDepthwiseConvolutionLayer3x3::configure(), GCSoftmaxLayer::configure(), NEGradientKernel::configure(), CLNonLinearFilterKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), NEDepthwiseConvolutionAssemblyDispatch::configure(), CLRemapKernel::configure(), NEPixelWiseMultiplication::configure(), NEPixelWiseMultiplicationKernel::configure(), NEFFTConvolutionLayer::configure(), NEIm2ColKernel::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), CLHarrisCorners::configure(), NEConvolutionLayer::configure(), CLFFTConvolutionLayer::configure(), NEElementwiseMin::configure(), GCConvolutionLayer::configure(), NEComplexPixelWiseMultiplication::configure(), NEElementwiseSquaredDiff::configure(), NEGEMMConvolutionLayer::configure(), NEElementwiseDivision::configure(), CLGEMMConvolutionLayer::configure(), NEElementwisePower::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(), ChannelShuffleLayerNode::configure_output(), DetectionPostProcessLayerNode::configure_output(), NormalizationLayerNode::configure_output(), SoftmaxLayerNode::configure_output(), BoundingBoxTransformLayerNode::configure_output(), DummyNode::configure_output(), PermuteLayerNode::configure_output(), QuantizationLayerNode::configure_output(), ResizeLayerNode::configure_output(), ActivationLayerNode::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(), arm_compute::test::convolution_3d::detail::convolution3d(), arm_compute::detail::convolve_3x3(), arm_compute::coords2index(), arm_compute::create_image2d_from_buffer(), CLCompileContext::create_kernel(), arm_compute::graph::backends::detail::create_normalization_layer(), arm_compute::create_opengl_display_and_context(), arm_compute::graph::backends::detail::create_print_layer(), GCDeviceBackend::create_subtensor(), VerifyAccessor< D >::create_tensors(), ThreadIdDecorator::decorate(), 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::enqueue(), arm_compute::error_on_format_not_in(), ICLMemoryRegion::extract_subregion(), GCBufferMemoryRegion::extract_subregion(), IImageLoader::fill_planar_tensor(), NPYLoader::fill_tensor(), CLCompileContext::fp16_supported(), arm_compute::test::validation::reference::fully_connected_layer(), NEConvolutionLayer::get_convolution_method(), CLConvolutionLayer::get_convolution_method(), arm_compute::utils::cpu::get_cpu_configuration(), CLDeconvolutionLayer::get_deconvolution_method(), arm_compute::graph_utils::get_detection_output_accessor(), arm_compute::graph_utils::get_output_accessor(), arm_compute::utils::cpu::get_threads_hint(), SchedulerClock< output_timestamps >::id(), CpuFloorKernel::infer_window(), TensorAllocator::init(), IGCKernel::kernel(), arm_compute::detail::load_matrix_row(), Logger::Logger(), logistic< T, S >::logistic(), arm_compute::utility::make_array(), GCBufferAllocator::make_region(), CLBufferAllocator::make_region(), CLSubTensorHandle::manage(), NESubTensorHandle::manage(), NETensorHandle::map(), NESubTensorHandle::map(), GCBufferMemoryRegion::map(), arm_compute::utils::map(), CLCompileContext::max_local_workgroup_size(), arm_compute::test::validation::reference::max_unpooling_layer_internal(), GCScheduler::memory_barrier(), CpuLogits1DMaxKernel::name(), NEArgMinMaxLayer::NEArgMinMaxLayer(), NEGatherKernel::NEGatherKernel(), arm_compute::test::validation::reference::non_linear_filter(), IScheduler::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(), arm_compute::cpu::qsymm16_neon_activation(), arm_compute::test::validation::reference::reduction_operation(), NEDeviceBackend::release_backend_context(), GCDeviceBackend::release_backend_context(), CLDeviceBackend::release_backend_context(), relu< T, S >::relu(), arm_compute::test::validation::reference::roi_align_layer(), ICPPKernel::run(), NEBox3x3Kernel::run(), NEDilateKernel::run(), NEErodeKernel::run(), NEIntegralImageKernel::run(), NEGaussian3x3Kernel::run(), NEGaussianPyramidHorKernel::run(), NEMedian3x3Kernel::run(), NEGaussian5x5HorKernel::run(), CPPSortEuclideanDistanceKernel::run(), NETableLookupKernel::run(), INEWarpKernel::run(), CPPUpsampleKernel::run(), NEBitwiseNotKernel::run(), NEBitwiseAndKernel::run(), NEBitwiseXorKernel::run(), NEHOGOrientationBinningKernel::run(), NERemapKernel::run(), NEBitwiseOrKernel::run(), NEDerivativeKernel::run(), NEAbsoluteDifferenceKernel::run(), NEAccumulateKernel::run(), NEFastCornersKernel::run(), NEFillArrayKernel::run(), NEMagnitudePhaseKernel< mag_type, phase_type >::run(), NENonMaximaSuppression3x3Kernel::run(), NESobel5x5HorKernel::run(), NESobel7x7HorKernel::run(), NEGradientKernel::run(), NEDequantizationLayerKernel::run(), NEMeanStdDevKernel::run(), NENonLinearFilterKernel::run(), CPPDetectionWindowNonMaximaSuppressionKernel::run(), NEHOGDetectorKernel::run(), NEMinMaxKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NEConvertQuantizedSignednessKernel::run(), NETileKernel::run(), CPPCornerCandidatesKernel::run(), NEChannelShuffleLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEReverseKernel::run(), NEROIPoolingLayerKernel::run(), NESpaceToDepthLayerKernel::run(), NEChannelExtractKernel::run(), NECumulativeDistributionKernel::run(), NEThresholdKernel::run(), NEPriorBoxLayerKernel::run(), NETransposeKernel::run(), NEFFTScaleKernel::run(), NEComputeAllAnchorsKernel::run(), NEInstanceNormalizationLayerKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CPPTopKVKernel::run(), NEReorgLayerKernel::run(), NEScharr3x3Kernel::run(), NESobel3x3Kernel::run(), CPPPermuteKernel::run(), NEQuantizationLayerKernel::run(), NEFFTDigitReverseKernel::run(), NEChannelCombineKernel::run(), NEMaxUnpoolingLayerKernel::run(), NENormalizationLayerKernel::run(), NERangeKernel::run(), NEConvertFullyConnectedWeightsKernel::run(), NEMeanStdDevNormalizationKernel::run(), CLComparisonKernel::run(), NEFillBorderKernel::run(), NEGatherKernel::run(), NEMinMaxLayerKernel::run(), NEGEMMMatrixAdditionKernel::run(), NESelectKernel::run(), NEBoundingBoxTransformKernel::run(), NEFFTRadixStageKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), NEPadLayerKernel::run(), NEReductionOperationKernel::run(), NEColorConvertKernel::run(), NEStackLayerKernel::run(), CPPNonMaximumSuppressionKernel::run(), NEScaleKernel::run(), NEConvolutionKernel< matrix_size >::run(), NEDirectConvolutionLayerKernel::run(), NEDirectConvolutionLayerOutputStageKernel::run(), NEDepthConvertLayerKernel::run(), NEGEMMInterleave4x4Kernel::run(), NEROIAlignLayerKernel::run(), NEGEMMLowpQuantizeDownInt32ScaleKernel::run(), NEBatchToSpaceLayerKernel::run(), NECropKernel::run(), NEGEMMLowpOffsetContributionKernel::run(), NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run(), NECol2ImKernel::run(), NEBatchNormalizationLayerKernel::run(), NEGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run(), NEGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run(), NEHarrisScoreKernel< block_size >::run(), NEFuseBatchNormalizationKernel::run(), NEDepthwiseConvolutionLayerNativeKernel::run(), NESpaceToBatchLayerKernel::run(), NEGaussianPyramidVertKernel::run(), NEGaussian5x5VertKernel::run(), NEWeightsReshapeKernel::run(), NEGEMMTranspose1xWKernel::run(), NEAccumulateWeightedKernel::run(), NEIm2ColKernel::run(), CLWeightsReshapeKernel::run(), NESobel5x5VertKernel::run(), NESobel7x7VertKernel::run(), NEGEMMLowpOffsetContributionOutputStageKernel::run(), NEGEMMLowpMatrixAReductionKernel::run(), NEHOGBlockNormalizationKernel::run(), NEEdgeNonMaxSuppressionKernel::run(), NEMinMaxLocationKernel::run(), NESeparableConvolutionHorKernel< matrix_size >::run(), NEAccumulateSquaredKernel::run(), NEEdgeTraceKernel::run(), NEGEMMLowpMatrixBReductionKernel::run(), NEWinogradLayerTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run(), NESeparableConvolutionVertKernel< matrix_size >::run(), ICLKernel::run(), NEConvolutionRectangleKernel::run(), NEWinogradLayerTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run(), NEWinogradLayerTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run(), ICPPKernel::run_nd(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuReshapeKernel::run_op(), CpuLogits1DMaxKernel::run_op(), CpuCopyKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuElementwiseKernel::run_op(), CpuPermuteKernel::run_op(), CpuActivationKernel::run_op(), NELogicalKernel::run_op(), CpuConcatenateBatchKernel::run_op(), CpuFloorKernel::run_op(), CpuPoolingKernel::run_op(), CpuConcatenateDepthKernel::run_op(), CpuAddKernel::run_op(), CpuElementwiseUnaryKernel::run_op(), CpuPoolingAssemblyWrapperKernel::run_op(), ICPPKernel::run_op(), CpuSubKernel::run_op(), NEStridedSliceKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), NEPixelWiseMultiplicationKernel::run_op(), CLPixelWiseMultiplicationKernel::run_op(), NEComplexPixelWiseMultiplicationKernel::run_op(), CLComplexPixelWiseMultiplicationKernel::run_op(), ICLKernel::run_op(), IScheduler::run_tagged_workloads(), SingleThreadScheduler::schedule_op(), CLGEMMDefaultTypeValhall::select_kernel(), CLGEMMDefaultTypeMidgard::select_kernel(), CLGEMMDefaultTypeBifrost::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(), MidgardTuner::tune_kernel_dynamic(), BifrostTuner::tune_kernel_dynamic(), 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(), ClElementWiseUnaryKernel::validate(), CpuActivationKernel::validate(), ClFillKernel::validate(), NEFFTScaleKernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CLFFTScaleKernel::validate(), NEPadLayerKernel::validate(), GCGEMMMatrixMultiplyKernel::validate(), CLMeanStdDev::validate(), CLMeanStdDevKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), ClCropKernel::validate(), NECropKernel::validate(), NEPadLayer::validate(), GCIm2ColKernel::validate(), NEGEMMAssemblyDispatch::validate(), CLSoftmaxLayerGeneric< IS_LOG >::validate(), CLGEMMMatrixMultiplyKernel::validate(), NEGEMM::validate(), NEFFTConvolutionLayer::validate(), CpuArithmeticKernel::validate(), NEGEMMLowpMatrixAReductionKernel::validate(), ClLogicalBinaryKernel::validate(), CLGEMMLowpMatrixAReductionKernel::validate(), ClSaturatedArithmeticKernel::validate(), NEFullyConnectedLayer::validate(), CLGEMMLowpMatrixBReductionKernel::validate(), NEGEMMLowpMatrixBReductionKernel::validate(), arm_compute::validate(), CpuComparisonKernel::validate(), arm_compute::graph::backends::detail::validate_node(), arm_compute::test::detail::validate_npy_header(), DotGraphVisitor::visit(), and arm_compute::test::validation::reference::winograd_output_transform().