21.08
|
#include "arm_compute/core/Error.h"
#include "arm_compute/core/IKernel.h"
#include "arm_compute/core/ITensor.h"
#include "arm_compute/core/Window.h"
#include <algorithm>
Go to the source code of this file.
Data Structures | |
class | compare_dimension< T > |
Function to compare two Dimensions objects and throw an error on mismatch. More... | |
struct | get_tensor_info_t< T > |
Get the info for a tensor, dummy struct. More... | |
struct | get_tensor_info_t< ITensorInfo * > |
Get the info for a tensor. More... | |
Namespaces | |
arm_compute | |
Copyright (c) 2017-2021 Arm Limited. | |
arm_compute::detail | |
Functions | |
template<typename T > | |
bool | have_different_dimensions (const Dimensions< T > &dim1, const Dimensions< T > &dim2, unsigned int upper_dim) |
template<typename F > | |
arm_compute::Status | for_each_error (F &&) |
template<typename F , typename T , typename... Ts> | |
arm_compute::Status | for_each_error (F &&func, T &&arg, Ts &&... args) |
template<typename... Ts> | |
arm_compute::Status | error_on_nullptr (const char *function, const char *file, const int line, Ts &&... pointers) |
Create an error if one of the pointers is a nullptr. More... | |
arm_compute::Status | error_on_mismatching_windows (const char *function, const char *file, const int line, const Window &full, const Window &win) |
Return an error if the passed window is invalid. More... | |
arm_compute::Status | error_on_invalid_subwindow (const char *function, const char *file, const int line, const Window &full, const Window &sub) |
Return an error if the passed subwindow is invalid. More... | |
arm_compute::Status | error_on_window_not_collapsable_at_dimension (const char *function, const char *file, const int line, const Window &full, const Window &window, const int dim) |
Return an error if the window can't be collapsed at the given dimension. More... | |
arm_compute::Status | error_on_coordinates_dimensions_gte (const char *function, const char *file, const int line, const Coordinates &pos, unsigned int max_dim) |
Return an error if the passed coordinates have too many dimensions. More... | |
arm_compute::Status | error_on_window_dimensions_gte (const char *function, const char *file, const int line, const Window &win, unsigned int max_dim) |
Return an error if the passed window has too many dimensions. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_mismatching_dimensions (const char *function, const char *file, int line, const Dimensions< T > &dim1, const Dimensions< T > &dim2, Ts &&... dims) |
Return an error if the passed dimension objects differ. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_tensors_not_even (const char *function, const char *file, int line, const Format &format, const ITensor *tensor1, Ts... tensors) |
Return an error if the passed tensor objects are not even. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_tensors_not_subsampled (const char *function, const char *file, int line, const Format &format, const TensorShape &shape, const ITensor *tensor1, Ts... tensors) |
Return an error if the passed tensor objects are not sub-sampled. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_shapes (const char *function, const char *file, const int line, const ITensorInfo *tensor_info_1, const ITensorInfo *tensor_info_2, Ts... tensor_infos) |
Return an error if the passed two tensor infos have different shapes from the given dimension. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_shapes (const char *function, const char *file, const int line, const ITensor *tensor_1, const ITensor *tensor_2, Ts... tensors) |
Return an error if the passed two tensors have different shapes from the given dimension. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_shapes (const char *function, const char *file, const int line, unsigned int upper_dim, const ITensorInfo *tensor_info_1, const ITensorInfo *tensor_info_2, Ts... tensor_infos) |
Return an error if the passed two tensors have different shapes from the given dimension. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_shapes (const char *function, const char *file, const int line, unsigned int upper_dim, const ITensor *tensor_1, const ITensor *tensor_2, Ts... tensors) |
Return an error if the passed two tensors have different shapes from the given dimension. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_data_layouts (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, Ts... tensor_infos) |
Return an error if the passed tensor infos have different data layouts. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_data_layouts (const char *function, const char *file, const int line, const ITensor *tensor, Ts... tensors) |
Return an error if the passed tensors have different data layouts. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_data_types (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, Ts... tensor_infos) |
Return an error if the passed two tensor infos have different data types. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_data_types (const char *function, const char *file, const int line, const ITensor *tensor, Ts... tensors) |
Return an error if the passed two tensors have different data types. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_quantization_info (const char *function, const char *file, const int line, const ITensorInfo *tensor_info_1, const ITensorInfo *tensor_info_2, Ts... tensor_infos) |
Return an error if the passed tensor infos have different asymmetric quantized data types or different quantization info. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_quantization_info (const char *function, const char *file, const int line, const ITensor *tensor_1, const ITensor *tensor_2, Ts... tensors) |
Return an error if the passed tensor have different asymmetric quantized data types or different quantization info. More... | |
template<typename T , typename F , typename... Fs> | |
void | error_on_format_not_in (const char *function, const char *file, const int line, const T *object, F &&format, Fs &&... formats) |
Throw an error if the format of the passed tensor/multi-image does not match any of the formats provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_type_not_in (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, T &&dt, Ts &&... dts) |
Return an error if the data type of the passed tensor info does not match any of the data types provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_type_not_in (const char *function, const char *file, const int line, const ITensor *tensor, T &&dt, Ts &&... dts) |
Return an error if the data type of the passed tensor does not match any of the data types provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_layout_not_in (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, T &&dl, Ts &&... dls) |
Return an error if the data layout of the passed tensor info does not match any of the data layouts provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_layout_not_in (const char *function, const char *file, const int line, const ITensor *tensor, T &&dl, Ts &&... dls) |
Return an error if the data layout of the passed tensor does not match any of the data layout provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_type_channel_not_in (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, size_t num_channels, T &&dt, Ts &&... dts) |
Return an error if the data type or the number of channels of the passed tensor info does not match any of the data types and number of channels provided. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_data_type_channel_not_in (const char *function, const char *file, const int line, const ITensor *tensor, size_t num_channels, T &&dt, Ts &&... dts) |
Return an error if the data type or the number of channels of the passed tensor does not match any of the data types and number of channels provided. More... | |
arm_compute::Status | error_on_unsupported_fp16 (const char *function, const char *file, const int line, const ITensorInfo *tensor_info, bool is_fp16_supported) |
Return an error if the data type of the passed tensor info is FP16 and FP16 extension is not supported by the device. More... | |
arm_compute::Status | error_on_unsupported_fp16 (const char *function, const char *file, const int line, const ITensor *tensor, bool is_fp16_supported) |
Return an error if the data type of the passed tensor is FP16 and FP16 extension is not supported by the device. More... | |
arm_compute::Status | error_on_tensor_not_2d (const char *function, const char *file, const int line, const ITensor *tensor) |
Return an error if the tensor is not 2D. More... | |
arm_compute::Status | error_on_tensor_not_2d (const char *function, const char *file, const int line, const ITensorInfo *tensor) |
Return an error if the tensor info is not 2D. More... | |
template<typename T , typename... Ts> | |
arm_compute::Status | error_on_channel_not_in (const char *function, const char *file, const int line, T cn, T &&channel, Ts &&... channels) |
Return an error if the channel is not in channels. More... | |
arm_compute::Status | error_on_channel_not_in_known_format (const char *function, const char *file, const int line, Format fmt, Channel cn) |
Return an error if the channel is not in format. More... | |
arm_compute::Status | error_on_unconfigured_kernel (const char *function, const char *file, const int line, const IKernel *kernel) |
Return an error if the kernel is not configured. More... | |
arm_compute::Status | error_on_invalid_subtensor (const char *function, const char *file, const int line, const TensorShape &parent_shape, const Coordinates &coords, const TensorShape &shape) |
Return an error if if the coordinates and shape of the subtensor are within the parent tensor. More... | |
arm_compute::Status | error_on_invalid_subtensor_valid_region (const char *function, const char *file, const int line, const ValidRegion &parent_valid_region, const ValidRegion &valid_region) |
Return an error if the valid region of a subtensor is not inside the valid region of the parent tensor. More... | |
#define ARM_COMPUTE_ERROR_ON_CHANNEL_NOT_IN | ( | c, | |
... | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_channel_not_in(__func__, __FILE__, __LINE__, c, __VA_ARGS__)) |
Definition at line 882 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT | ( | f, | |
c | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_channel_not_in_known_format(__func__, __FILE__, __LINE__, f, c)) |
Definition at line 899 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_COORDINATES_DIMENSIONS_GTE | ( | p, | |
md | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_coordinates_dimensions_gte(__func__, __FILE__, __LINE__, p, md)) |
Definition at line 240 of file Validate.h.
Referenced by SubTensorInfo::offset_element_in_bytes(), and TensorInfo::offset_element_in_bytes().
#define ARM_COMPUTE_ERROR_ON_DATA_LAYOUT_NOT_IN | ( | t, | |
... | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_data_layout_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__)) |
Definition at line 740 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN | ( | t, | |
c, | |||
... | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_data_type_channel_not_in(__func__, __FILE__, __LINE__, t, c, __VA_ARGS__)) |
Definition at line 786 of file Validate.h.
Referenced by NumPyAccessor::access_tensor(), SaveNumPyAccessor::access_tensor(), DetectionOutputAccessor::access_tensor(), TopNPredictionsAccessor::access_tensor(), CpuScaleKernel::configure(), CLBitwiseKernel::configure(), NEBitwiseNotKernel::configure(), NEBitwiseXorKernel::configure(), NEBitwiseAndKernel::configure(), NEBitwiseOrKernel::configure(), NERemapKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), NERemap::configure(), ClWinogradConv2d::configure(), IImageLoader::fill_planar_tensor(), arm_compute::utils::load_trained_data(), and CLQLSTMLayer::validate().
#define ARM_COMPUTE_ERROR_ON_DATA_TYPE_NOT_IN | ( | t, | |
... | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_data_type_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__)) |
Definition at line 688 of file Validate.h.
Referenced by NPYLoader::fill_tensor(), and arm_compute::utils::save_to_npy().
#define ARM_COMPUTE_ERROR_ON_FORMAT_NOT_IN | ( | t, | |
... | |||
) | ::arm_compute::error_on_format_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__) |
Definition at line 639 of file Validate.h.
Referenced by arm_compute::utils::draw_detection_rectangle(), IImageLoader::fill_image(), and arm_compute::utils::save_to_ppm().
#define ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR | ( | p, | |
c, | |||
s | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_subtensor(__func__, __FILE__, __LINE__, p, c, s)) |
Definition at line 933 of file Validate.h.
Referenced by SubTensorInfo::set_tensor_shape(), and SubTensorInfo::SubTensorInfo().
#define ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION | ( | pv, | |
sv | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_subtensor_valid_region(__func__, __FILE__, __LINE__, pv, sv)) |
Definition at line 950 of file Validate.h.
Referenced by SubTensorInfo::set_valid_region().
#define ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW | ( | f, | |
s | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_subwindow(__func__, __FILE__, __LINE__, f, s)) |
Definition at line 201 of file Validate.h.
Referenced by ClFillKernel::configure(), ClCropKernel::configure(), ICLSimple2DKernel::run(), ICLSimple3DKernel::run(), NEBitwiseNotKernel::run(), CPPUpsampleKernel::run(), CLBitwiseKernel::run(), NEBitwiseAndKernel::run(), NEBitwiseOrKernel::run(), NEBitwiseXorKernel::run(), NERemapKernel::run(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), NEChannelShuffleLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEReverseKernel::run(), NESpaceToDepthLayerKernel::run(), NEPriorBoxLayerKernel::run(), NEFFTScaleKernel::run(), NEComputeAllAnchorsKernel::run(), NEInstanceNormalizationLayerKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CLChannelShuffleLayerKernel::run(), NEReorgLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), CPPPermuteKernel::run(), CLReverseKernel::run(), NEFFTDigitReverseKernel::run(), CLSelectKernel::run(), CLSpaceToDepthLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLRemapKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLComputeAllAnchorsKernel::run(), NEMaxUnpoolingLayerKernel::run(), NENormalizationLayerKernel::run(), NERangeKernel::run(), CLMaxUnpoolingLayerKernel::run(), NEMeanStdDevNormalizationKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLGatherKernel::run(), CLROIPoolingLayerKernel::run(), CLComparisonKernel::run(), NEPadLayerKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), NEFillBorderKernel::run(), NEMinMaxLayerKernel::run(), CLTileKernel::run(), CLFFTDigitReverseKernel::run(), NESelectKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLReorgLayerKernel::run(), NEBoundingBoxTransformKernel::run(), NEFFTRadixStageKernel::run(), NEReductionOperationKernel::run(), CLRangeKernel::run(), NEStackLayerKernel::run(), CPPNonMaximumSuppressionKernel::run(), CLReductionOperationKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLPadLayerKernel::run(), CLPriorBoxLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), NEROIAlignLayerKernel::run(), CLFFTRadixStageKernel::run(), CLL2NormalizeLayerKernel::run(), NECropKernel::run(), CLBoundingBoxTransformKernel::run(), NEBatchNormalizationLayerKernel::run(), CLStackLayerKernel::run(), NEFuseBatchNormalizationKernel::run(), CLArgMinMaxLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), NESpaceToBatchLayerKernel::run(), CLROIAlignLayerKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CLBatchToSpaceLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), CLComputeMeanVariance::run(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuTransposeKernel::run_op(), CpuLogits1DMaxKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuDequantizeKernel::run_op(), CpuReshapeKernel::run_op(), CpuCopyKernel::run_op(), ClDequantizeKernel::run_op(), ClReshapeKernel::run_op(), CpuConcatenateBatchKernel::run_op(), CpuPermuteKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), CpuActivationKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), ClWidthConcatenate2TensorsKernel::run_op(), CpuQuantizeKernel::run_op(), CpuPool2dKernel::run_op(), ClWidthConcatenateKernel::run_op(), ClScaleKernel::run_op(), ClActivationKernel::run_op(), ClHeightConcatenateKernel::run_op(), ClPool2dKernel::run_op(), ClQuantizeKernel::run_op(), NELogicalKernel::run_op(), CpuFloorKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClDepthConcatenateKernel::run_op(), CpuConvertFullyConnectedWeightsKernel::run_op(), CpuScaleKernel::run_op(), CpuDirectConv2dKernel::run_op(), ClConvertFullyConnectedWeightsKernel::run_op(), ClCropKernel::run_op(), CpuConcatenateDepthKernel::run_op(), CpuGemmLowpMatrixAReductionKernel::run_op(), CpuGemmMatrixAdditionKernel::run_op(), CpuAddKernel::run_op(), CpuDirectConv2dOutputStageKernel::run_op(), CpuSubKernel::run_op(), CpuGemmMatrixMultiplyKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), ClWinogradFilterTransformKernel::run_op(), ClWinogradInputTransformKernel::run_op(), CpuDepthwiseConv2dNativeKernel::run_op(), CpuCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), CpuGemmLowpOffsetContributionKernel::run_op(), ClGemmMatrixMultiplyKernel::run_op(), CpuGemmLowpQuantizeDownInt32ScaleKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run_op(), ClDirectConv2dKernel::run_op(), CpuCol2ImKernel::run_op(), CLStridedSliceKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run_op(), CpuMulKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), CpuWeightsReshapeKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClMulKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), CpuIm2ColKernel::run_op(), NEStridedSliceKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), CpuGemmLowpOffsetContributionOutputStageKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClLogits1DNormKernel::run_op(), ClComplexMulKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), CpuGemmLowpMatrixBReductionKernel::run_op(), CpuComplexMulKernel::run_op(), and CpuDepthwiseConv2dNativeKernel::validate().
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_LAYOUT | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_data_layouts(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 488 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_data_types(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 539 of file Validate.h.
Referenced by arm_compute::utils::compare_tensor(), NEBitwiseNotKernel::configure(), NEBitwiseXorKernel::configure(), NEBitwiseOrKernel::configure(), NEBitwiseAndKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), and NEROIPoolingLayerKernel::configure().
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_DIMENSIONS | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_dimensions(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 282 of file Validate.h.
Referenced by arm_compute::test::validation::reference::copy().
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_QUANTIZATION_INFO | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_quantization_info(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 604 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_shapes(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 437 of file Validate.h.
Referenced by arm_compute::utils::compare_tensor(), NEBitwiseNotKernel::configure(), NEBitwiseOrKernel::configure(), NEBitwiseXorKernel::configure(), and NEBitwiseAndKernel::configure().
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_WINDOWS | ( | f, | |
w | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_windows(__func__, __FILE__, __LINE__, f, w)) |
Definition at line 179 of file Validate.h.
Referenced by CPPBoxWithNonMaximaSuppressionLimitKernel::run(), CLFillBorderKernel::run(), ClFloorKernel::run_op(), ClTransposeKernel::run_op(), ClPermuteKernel::run_op(), ClCol2ImKernel::run_op(), CLFillBorderKernel::run_op(), ClWeightsReshapeKernel::run_op(), and ClIm2ColKernel::run_op().
#define ARM_COMPUTE_ERROR_ON_NULLPTR | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_nullptr(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 157 of file Validate.h.
Referenced by arm_compute::utils::info_helpers::build_lstm_params_tensor_info(), CpuQuantize::configure(), CpuFloorKernel::configure(), CpuReshapeKernel::configure(), CpuConvertQuantizedSignednessKernel::configure(), CpuLogits1DMaxKernel::configure(), CpuTransposeKernel::configure(), CpuCopyKernel::configure(), CpuFillKernel::configure(), ClFloorKernel::configure(), CpuScale::configure(), ClReshapeKernel::configure(), ClTransposeKernel::configure(), ClDequantizeKernel::configure(), CpuPermuteKernel::configure(), ClCopyKernel::configure(), CpuConcatenateBatchKernel::configure(), ClElementWiseUnaryKernel::configure(), ClFillKernel::configure(), NELogicalKernel::configure(), CpuActivationKernel::configure(), CpuConcatenateWidthKernel::configure(), CpuConcatenateHeightKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CpuPool2dKernel::configure(), CpuQuantizeKernel::configure(), ClScale::configure(), ClHeightConcatenateKernel::configure(), ClPool2dKernel::configure(), ClWidthConcatenateKernel::configure(), ClActivationKernel::configure(), ClPool2d::configure(), ClQuantizeKernel::configure(), CPPDetectionOutputLayer::configure(), ClPermuteKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), CpuScaleKernel::configure(), CLStridedSliceKernel::configure(), ClBatchConcatenateKernel::configure(), ClCropKernel::configure(), ClDepthConcatenateKernel::configure(), CpuConvertFullyConnectedWeightsKernel::configure(), CpuDirectConv2dKernel::configure(), CpuGemmMatrixAdditionKernel::configure(), CpuDirectConv2dOutputStageKernel::configure(), ClGemmLowpMatrixMultiplyNativeKernel::configure(), ClConvertFullyConnectedWeightsKernel::configure(), CpuConcatenateDepthKernel::configure(), CpuGemmLowpMatrixAReductionKernel::configure(), NEBatchToSpaceLayerKernel::configure(), NEReverseKernel::configure(), NETileKernel::configure(), ClConcatenate::configure(), ClGemmReshapeLhsMatrixKernel::configure(), CpuGemmMatrixMultiplyKernel::configure(), NEChannelShuffleLayerKernel::configure(), NEDepthToSpaceLayerKernel::configure(), CpuAddKernel::configure(), NEPriorBoxLayerKernel::configure(), CpuSubKernel::configure(), NESpaceToDepthLayerKernel::configure(), CpuGemmLowpMatrixMultiplyKernel::configure(), ClDirectConv2d::configure(), ClGemmMatrixMultiplyNativeKernel::configure(), CLRemapKernel::configure(), NEComputeAllAnchorsKernel::configure(), NEInstanceNormalizationLayerKernel::configure(), NEReorgLayerKernel::configure(), CPPTopKVKernel::configure(), CLInstanceNormalizationLayerKernel::configure(), CpuDepthwiseConv2dNativeKernel::configure(), ClWinogradFilterTransformKernel::configure(), ClWinogradInputTransformKernel::configure(), NEBitwiseNotKernel::configure(), NEFFTDigitReverseKernel::configure(), NEFFTScaleKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), CPPUpsampleKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), NESpaceToBatchLayerKernel::configure(), CLMinMaxLayerKernel::configure(), CLBitwiseKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), CLReverseKernel::configure(), CLSelectKernel::configure(), CLChannelShuffleLayerKernel::configure(), NEBitwiseAndKernel::configure(), NEBitwiseOrKernel::configure(), NEBitwiseXorKernel::configure(), CPPPermuteKernel::configure(), NENormalizationLayerKernel::configure(), CpuCastKernel::configure(), CPPBoxWithNonMaximaSuppressionLimit::configure(), CpuGemmInterleave4x4Kernel::configure(), CLSpaceToDepthLayerKernel::configure(), ClWinogradOutputTransformKernel::configure(), CLDepthToSpaceLayerKernel::configure(), NEPadLayerKernel::configure(), ClCastKernel::configure(), CLBatchToSpaceLayerKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::configure(), ClGemmLowpQuantizeDownInt32ScaleKernel::configure(), ClGemmMatrixMultiplyKernel::configure(), CLComputeAllAnchorsKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), NEMaxUnpoolingLayerKernel::configure(), NERangeKernel::configure(), CLFFTScaleKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLGatherKernel::configure(), CpuGemmLowpOffsetContributionKernel::configure(), NEFlattenLayer::configure(), NEReshapeLayer::configure(), CLSpaceToBatchLayerKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), NEBoundingBoxTransformKernel::configure(), NEFFTRadixStageKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), NEROIPoolingLayerKernel::configure(), CpuDepthwiseConv2dAssemblyWrapperKernel::configure(), CLNormalizationLayerKernel::configure(), ClDirectConv2dKernel::configure(), ClGemmLowpMatrixMultiplyReshapedKernel::configure(), NEFill::configure(), CpuGemmLowpQuantizeDownInt32ScaleKernel::configure(), CLTileKernel::configure(), CLComparisonKernel::configure(), NEFillBorderKernel::configure(), NEMinMaxLayerKernel::configure(), NEStackLayerKernel::configure(), CPPDetectionPostProcessLayer::configure(), CLReorgLayerKernel::configure(), NECopy::configure(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::configure(), NETranspose::configure(), CPPNonMaximumSuppressionKernel::configure(), NEGatherKernel::configure(), NEReductionOperationKernel::configure(), NESelectKernel::configure(), CpuPool2dAssemblyWrapperKernel::configure(), CpuCol2ImKernel::configure(), CLFFTDigitReverseKernel::configure(), ClGemmLowpOffsetContributionKernel::configure(), ClGemmLowpOffsetContributionOutputStageKernel::configure(), NEConvertFullyConnectedWeights::configure(), ClGemmReshapeRhsMatrixKernel::configure(), NEFloor::configure(), NELogicalAnd::configure(), NESpaceToDepthLayer::configure(), NEFuseBatchNormalizationKernel::configure(), CLMeanStdDevNormalizationKernel::configure(), CLRangeKernel::configure(), CLReductionOperationKernel::configure(), CpuSoftmaxGeneric< IS_LOG >::configure(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::configure(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::configure(), CpuMulKernel::configure(), NEBatchNormalizationLayerKernel::configure(), NECropKernel::configure(), NEROIAlignLayerKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), NEStridedSliceKernel::configure(), ClCol2ImKernel::configure(), CLPadLayerKernel::configure(), CLFFTRadixStageKernel::configure(), NEPermute::configure(), CpuGemmDirectConv2d::configure(), CLPriorBoxLayerKernel::configure(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::configure(), NEFFT2D::configure(), CLL2NormalizeLayerKernel::configure(), CLBoundingBoxTransformKernel::configure(), ClMulKernel::configure(), NEUnstack::configure(), CLTranspose::configure(), ClGemmLowpOutputStage::configure(), NERNNLayer::configure(), CpuWinogradConv2d::configure(), CLUnstack::configure(), CpuWeightsReshapeKernel::configure(), NESpaceToBatchLayer::configure(), CLFill::configure(), NESoftmaxLayerGeneric< IS_LOG >::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLFlattenLayer::configure(), CLFloor::configure(), ClGemmLowpMatrixAReductionKernel::configure(), NEDepthConvertLayer::configure(), CLStackLayerKernel::configure(), CLCopy::configure(), NEConcatenateLayer::configure(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::configure(), NECropResize::configure(), NEGEMM::configure(), ClWeightsReshapeKernel::configure(), NECast::configure(), CLArgMinMaxLayerKernel::configure(), NEReductionOperation::configure(), NEFFT1D::configure(), ClIm2ColKernel::configure(), CLROIAlignLayerKernel::configure(), CpuIm2ColKernel::configure(), NENormalizationLayer::configure(), NEDetectionPostProcessLayer::configure(), CpuGemmTranspose1xWKernel::configure(), NEGEMMLowpOutputStage::configure(), CLPermute::configure(), CLFFT2D::configure(), CLDeconvolutionReshapeOutputKernel::configure(), CLDeconvolutionLayer::configure(), CLRNNLayer::configure(), CLBatchNormalizationLayerKernel::configure(), CLFuseBatchNormalizationKernel::configure(), NEActivationLayer::configure(), ClFullyConnected::configure(), CLConvertFullyConnectedWeights::configure(), CLDeconvolutionLayerUpsample::configure(), CLFFT1D::configure(), CLFullyConnectedLayer::configure(), ClGemmMatrixMultiplyReshapedKernel::configure(), CpuGemmLowpOffsetContributionOutputStageKernel::configure(), CpuLogits1DSoftmaxKernel< IS_LOG >::configure(), CLSpaceToBatchLayer::configure(), CpuGemmAssemblyDispatch::configure(), CpuFullyConnected::configure(), CLCrop::configure(), ClGemm::configure(), NEGEMMConv2d::configure(), CLDepthwiseConvolutionLayer::configure(), CLGEMM::configure(), CLReductionOperation::configure(), CpuGemm::configure(), CLActivationLayer::configure(), CLArgMinMaxLayer::configure(), ClGemmLowpMatrixMultiplyCore::configure(), CLStridedSlice::configure(), CLDirectConvolutionLayer::configure(), NEGEMMConvolutionLayer::configure(), CLCast::configure(), NEGenerateProposalsLayer::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), CLConcatenateLayer::configure(), CLGEMMLowpOutputStage::configure(), CLDepthConvertLayer::configure(), ClLogicalBinaryKernel::configure(), ClGemmConvolution::configure(), CLCropResize::configure(), ClComplexMulKernel::configure(), CpuConv2d::configure(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::configure(), NELSTMLayerQuantized::configure(), NELSTMLayer::configure(), CpuGemmConvolution::configure(), CLComputeMeanVariance::configure(), ClGemmLowpMatrixBReductionKernel::configure(), CpuGemmLowpMatrixMultiplyCore::configure(), CLGEMMLowpMatrixMultiplyCore::configure(), NEDeconvolutionLayer::configure(), ClConv2d::configure(), NESlice::configure(), CpuGemmLowpMatrixBReductionKernel::configure(), CLGEMMConvolutionLayer::configure(), NELogicalOr::configure(), NEConvolutionLayer::configure(), CLGenerateProposalsLayer::configure(), NEFullyConnectedLayer::configure(), CLGEMMDeconvolutionLayer::configure(), CLDirectDeconvolutionLayer::configure(), CLLSTMLayerQuantized::configure(), NEQLSTMLayer::configure(), CLSlice::configure(), CpuComplexMulKernel::configure(), CPPSplit< CLSlice, ICLTensor >::configure(), ClSaturatedArithmeticKernel::configure(), CLConvolutionLayer::configure(), NELogicalNot::configure(), CLLSTMLayer::configure(), ClArithmeticKernel::configure(), CLQLSTMLayer::configure(), CpuConv2d::get_convolution_method(), ClConv2d::get_convolution_method(), arm_compute::manage_workspace(), CpuGemmDirectConv2d::prepare(), CpuWinogradConv2d::prepare(), ClGemmLowpMatrixMultiplyCore::prepare(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run(), NESoftmaxLayerGeneric< IS_LOG >::run(), NEPoolingLayer::run(), ClGemm::run(), CLSoftmaxLayerGeneric< IS_LOG >::run(), ClGemmLowpMatrixMultiplyCore::run(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run_nd(), ClElementwiseKernel::run_op(), ClConvertFullyConnectedWeightsKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), CpuCastKernel::run_op(), ClCastKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClGemmMatrixMultiplyKernel::run_op(), CpuDepthwiseConv2dAssemblyWrapperKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), CpuPool2dAssemblyWrapperKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClMulKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClLogits1DNormKernel::run_op(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), arm_compute::schedule_kernel_on_ctx(), arm_compute::cl_gemm::auto_heuristics::select_default_gemm_config_native(), arm_compute::cl_gemm::auto_heuristics::select_default_gemm_config_reshaped(), arm_compute::cl_gemm::auto_heuristics::select_default_gemm_config_reshaped_only_rhs(), arm_compute::cl_gemm::auto_heuristics::select_default_gemm_kernel(), CLRuntimeContext::set_gpu_scheduler(), RuntimeContext::set_scheduler(), CpuLogits1DMaxKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), ClGemmLowpQuantizeDownInt32ScaleKernel::validate(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::validate(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::validate(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::validate(), CpuMulKernel::validate(), ClCol2ImKernel::validate(), ClMulKernel::validate(), CLPriorBoxLayerKernel::validate(), CpuLogits1DSoftmaxKernel< IS_LOG >::validate(), CpuGemmLowpOffsetContributionOutputStageKernel::validate(), ClGemmLowpMatrixMultiplyCore::validate(), CLArgMinMaxLayer::validate(), CLReductionOperation::validate(), ClComplexMulKernel::validate(), and CpuComplexMulKernel::validate().
#define ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D | ( | t | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_tensor_not_2d(__func__, __FILE__, __LINE__, t)) |
Definition at line 852 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_TENSORS_NOT_EVEN | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_tensors_not_even(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 314 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_TENSORS_NOT_SUBSAMPLED | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_tensors_not_subsampled(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 347 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL | ( | k | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unconfigured_kernel(__func__, __FILE__, __LINE__, k)) |
Definition at line 915 of file Validate.h.
Referenced by NEMinMaxLayerKernel::reset(), ICLSimple2DKernel::run(), NEBitwiseNotKernel::run(), CLBitwiseKernel::run(), CPPUpsampleKernel::run(), NEBitwiseAndKernel::run(), NEBitwiseOrKernel::run(), NEBitwiseXorKernel::run(), NERemapKernel::run(), NEROIPoolingLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NETileKernel::run(), NEChannelShuffleLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEReverseKernel::run(), NESpaceToDepthLayerKernel::run(), NEPriorBoxLayerKernel::run(), NEComputeAllAnchorsKernel::run(), NEFFTScaleKernel::run(), NEInstanceNormalizationLayerKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run(), CLChannelShuffleLayerKernel::run(), NEReorgLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), CPPPermuteKernel::run(), CLReverseKernel::run(), CLSpaceToDepthLayerKernel::run(), NEFFTDigitReverseKernel::run(), CLSelectKernel::run(), CLDepthToSpaceLayerKernel::run(), CLRemapKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), NEMaxUnpoolingLayerKernel::run(), NENormalizationLayerKernel::run(), NERangeKernel::run(), CLComputeAllAnchorsKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLQLSTMLayerNormalizationKernel::run(), NEMeanStdDevNormalizationKernel::run(), CLGatherKernel::run(), CLROIPoolingLayerKernel::run(), NEPadLayerKernel::run(), CLComparisonKernel::run(), CLMinMaxLayerKernel::run(), CLNormalizationLayerKernel::run(), NEFillBorderKernel::run(), NEGatherKernel::run(), NEMinMaxLayerKernel::run(), CLTileKernel::run(), CLFFTDigitReverseKernel::run(), NESelectKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLRangeKernel::run(), CLReorgLayerKernel::run(), NEBoundingBoxTransformKernel::run(), NEFFTRadixStageKernel::run(), NEReductionOperationKernel::run(), NEStackLayerKernel::run(), CPPNonMaximumSuppressionKernel::run(), CLReductionOperationKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLPriorBoxLayerKernel::run(), CLPadLayerKernel::run(), CLFFTRadixStageKernel::run(), CLFillBorderKernel::run(), NEBatchToSpaceLayerKernel::run(), NEROIAlignLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLBoundingBoxTransformKernel::run(), NECropKernel::run(), NEBatchNormalizationLayerKernel::run(), CLStackLayerKernel::run(), NEFuseBatchNormalizationKernel::run(), CLArgMinMaxLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), NESpaceToBatchLayerKernel::run(), CLROIAlignLayerKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CLBatchToSpaceLayerKernel::run(), CLBatchNormalizationLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), CLComputeMeanVariance::run(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run_nd(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuDequantizeKernel::run_op(), CpuLogits1DMaxKernel::run_op(), CpuTransposeKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuReshapeKernel::run_op(), CpuCopyKernel::run_op(), ClReshapeKernel::run_op(), ClTransposeKernel::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), CpuPermuteKernel::run_op(), CpuConcatenateBatchKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), CpuActivationKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), ClWidthConcatenate2TensorsKernel::run_op(), CpuPool2dKernel::run_op(), CpuQuantizeKernel::run_op(), ClHeightConcatenateKernel::run_op(), ClPool2dKernel::run_op(), ClScaleKernel::run_op(), ClWidthConcatenateKernel::run_op(), ClActivationKernel::run_op(), NELogicalKernel::run_op(), ClQuantizeKernel::run_op(), ClPermuteKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), CpuFloorKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClDepthConcatenateKernel::run_op(), CpuConvertFullyConnectedWeightsKernel::run_op(), CpuDirectConv2dKernel::run_op(), CpuScaleKernel::run_op(), ClCropKernel::run_op(), CpuConcatenateDepthKernel::run_op(), ClConvertFullyConnectedWeightsKernel::run_op(), CpuGemmLowpMatrixAReductionKernel::run_op(), CpuGemmMatrixAdditionKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), CpuDirectConv2dOutputStageKernel::run_op(), CpuAddKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), CpuSubKernel::run_op(), CpuGemmMatrixMultiplyKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), CpuDepthwiseConv2dNativeKernel::run_op(), ClWinogradFilterTransformKernel::run_op(), ClWinogradInputTransformKernel::run_op(), CpuCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClCastKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), CpuGemmLowpOffsetContributionKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), CpuGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmMatrixMultiplyKernel::run_op(), CpuDepthwiseConv2dAssemblyWrapperKernel::run_op(), ClDirectConv2dKernel::run_op(), CpuCol2ImKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run_op(), CpuPool2dAssemblyWrapperKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), CLStridedSliceKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run_op(), CpuMulKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), CpuWeightsReshapeKernel::run_op(), ClLogits1DMaxShiftExpSumKernel::run_op(), ClMulKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), CLFillBorderKernel::run_op(), ClWeightsReshapeKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), CpuIm2ColKernel::run_op(), ClIm2ColKernel::run_op(), NEStridedSliceKernel::run_op(), CpuLogits1DSoftmaxKernel< IS_LOG >::run_op(), CpuGemmLowpOffsetContributionOutputStageKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClLogits1DNormKernel::run_op(), ClComplexMulKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), CpuGemmLowpMatrixBReductionKernel::run_op(), CpuComplexMulKernel::run_op(), CpuWinogradConv2dTransformInputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), CpuWinogradConv2dTransformOutputKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), CpuWinogradConv2dTransformWeightsKernel< T, OutputTileRows, OutputTileCols, KernelRows, KernelCols >::run_op(), ICLKernel::set_lws_hint(), ICLKernel::set_wbsm_hint(), and CpuDepthwiseConv2dNativeKernel::validate().
#define ARM_COMPUTE_ERROR_ON_WINDOW_DIMENSIONS_GTE | ( | w, | |
md | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_window_dimensions_gte(__func__, __FILE__, __LINE__, w, md)) |
Definition at line 259 of file Validate.h.
Referenced by Iterator::Iterator().
#define ARM_COMPUTE_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION | ( | f, | |
w, | |||
d | |||
) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_window_not_collapsable_at_dimension(__func__, __FILE__, __LINE__, f, w, d)) |
Definition at line 221 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_CHANNEL_NOT_IN | ( | c, | |
... | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_channel_not_in(__func__, __FILE__, __LINE__, c, __VA_ARGS__)) |
Definition at line 884 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT | ( | f, | |
c | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_channel_not_in_known_format(__func__, __FILE__, __LINE__, f, c)) |
Definition at line 901 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_COORDINATES_DIMENSIONS_GTE | ( | p, | |
md | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_coordinates_dimensions_gte(__func__, __FILE__, __LINE__, p, md)) |
Definition at line 242 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_DATA_LAYOUT_NOT_IN | ( | t, | |
... | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_data_layout_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__)) |
Definition at line 742 of file Validate.h.
Referenced by ClCropKernel::validate(), NECropKernel::validate(), NEGenerateProposalsLayer::validate(), and CLGenerateProposalsLayer::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN | ( | t, | |
c, | |||
... | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_data_type_channel_not_in(__func__, __FILE__, __LINE__, t, c, __VA_ARGS__)) |
Definition at line 788 of file Validate.h.
Referenced by CpuArithmeticKernel::configure(), CpuDivisionKernel::configure(), CpuPowerKernel::configure(), CpuComparisonKernel::configure(), CpuLogits1DMaxKernel::name(), CpuMulKernel::name(), ClMulKernel::run_op(), NELogicalKernel::validate(), CpuElementwiseUnaryKernel::validate(), CpuGemmMatrixAdditionKernel::validate(), CLRemapKernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CpuGemmDirectConv2d::validate(), CpuGemmLowpOutputStage::validate(), NESelectKernel::validate(), ClGemmLowpOutputStage::validate(), NECropKernel::validate(), ClFullyConnected::validate(), CLROIPoolingLayerKernel::validate(), CpuFullyConnected::validate(), CpuGemmAssemblyDispatch::validate(), ClGemmLowpMatrixMultiplyCore::validate(), CpuGemm::validate(), CLArgMinMaxLayer::validate(), CLDepthwiseConvolutionLayer::validate(), ClLogicalBinaryKernel::validate(), ClGemmConvolution::validate(), NEGenerateProposalsLayer::validate(), NEFFTConvolutionLayer::validate(), CpuGemmConvolution::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), NEDeconvolutionLayer::validate(), CLFFTConvolutionLayer::validate(), CLGenerateProposalsLayer::validate(), CLGEMMDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), NELSTMLayer::validate(), NEQLSTMLayer::validate(), arm_compute::validate(), CLLSTMLayer::validate(), CLQLSTMLayer::validate(), and ICpuWinogradConv2dTransformWeightsKernel::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN | ( | t, | |
... | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_data_type_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__)) |
Definition at line 690 of file Validate.h.
Referenced by ClCropKernel::validate(), NECropKernel::validate(), NERNNLayer::validate(), CLFFT2D::validate(), CLFFT1D::validate(), CLRNNLayer::validate(), NECropResize::validate(), CLCropResize::validate(), CLLSTMLayerQuantized::validate(), and arm_compute::opencl::kernels::gemm::validate_image2d_support_on_rhs().
#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR | ( | p, | |
c, | |||
s | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_subtensor(__func__, __FILE__, __LINE__, p, c, s)) |
Definition at line 935 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION | ( | pv, | |
sv | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_subtensor_valid_region(__func__, __FILE__, __LINE__, pv, sv)) |
Definition at line 952 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBWINDOW | ( | f, | |
s | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_subwindow(__func__, __FILE__, __LINE__, f, s)) |
Definition at line 203 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_LAYOUT | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_data_layouts(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 490 of file Validate.h.
Referenced by ClCropKernel::validate(), CpuGemmDirectConv2d::validate(), NECropKernel::validate(), NECropResize::validate(), CLDepthwiseConvolutionLayer::validate(), ClGemmConvolution::validate(), NEGenerateProposalsLayer::validate(), CpuGemmConvolution::validate(), NEDeconvolutionLayer::validate(), CLCropResize::validate(), CLGenerateProposalsLayer::validate(), CLGEMMDeconvolutionLayer::validate(), and CLDirectDeconvolutionLayer::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_data_types(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 541 of file Validate.h.
Referenced by CpuArithmeticKernel::configure(), CpuLogits1DMaxKernel::name(), ClMulKernel::run_op(), CpuTransposeKernel::validate(), ClTransposeKernel::validate(), CpuElementwiseUnaryKernel::validate(), NELogicalKernel::validate(), CpuConvertFullyConnectedWeightsKernel::validate(), ClConvertFullyConnectedWeightsKernel::validate(), CpuGemmMatrixAdditionKernel::validate(), CpuGemmInterleave4x4Kernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CpuGemmDirectConv2d::validate(), NESelectKernel::validate(), NEFFT2D::validate(), CpuDirectConv2d::validate(), CpuGemmTranspose1xWKernel::validate(), NEFFT1D::validate(), CLFFT2D::validate(), ClFullyConnected::validate(), CLFFT1D::validate(), CLROIPoolingLayerKernel::validate(), CpuFullyConnected::validate(), NEPadLayer::validate(), CLRNNLayer::validate(), CpuGemmAssemblyDispatch::validate(), CpuGemm::validate(), CLDepthwiseConvolutionLayer::validate(), ClLogicalBinaryKernel::validate(), ClGemmConvolution::validate(), NEGenerateProposalsLayer::validate(), CpuGemmConvolution::validate(), NEFFTConvolutionLayer::validate(), NEDeconvolutionLayer::validate(), NELSTMLayerQuantized::validate(), CLFFTConvolutionLayer::validate(), CLGenerateProposalsLayer::validate(), CLGEMMDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), NEQLSTMLayer::validate(), arm_compute::validate(), CLLSTMLayer::validate(), CLQLSTMLayer::validate(), and ICpuWinogradConv2dTransformWeightsKernel::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_dimensions(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 284 of file Validate.h.
Referenced by CpuLogits1DMaxKernel::name(), CpuTransposeKernel::validate(), CpuGemmInterleave4x4Kernel::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), CpuGemmTranspose1xWKernel::validate(), NERNNLayer::validate(), CLRNNLayer::validate(), NEPadLayer::validate(), NECropResize::validate(), and CLCropResize::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_quantization_info(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 606 of file Validate.h.
Referenced by CpuLogits1DMaxKernel::name(), CpuTransposeKernel::validate(), ClTransposeKernel::validate(), CpuGemmInterleave4x4Kernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CpuGemmTranspose1xWKernel::validate(), NELSTMLayerQuantized::validate(), CLLSTMLayerQuantized::validate(), and arm_compute::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_shapes(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 439 of file Validate.h.
Referenced by CpuLogits1DMaxKernel::name(), ClTransposeKernel::validate(), CpuConvertFullyConnectedWeightsKernel::validate(), ClConvertFullyConnectedWeightsKernel::validate(), CpuGemmMatrixAdditionKernel::validate(), NEQLSTMLayerNormalizationKernel::validate(), NEFlattenLayer::validate(), NESelectKernel::validate(), NEFFT2D::validate(), CLFlattenLayer::validate(), NEFFT1D::validate(), CLFFT2D::validate(), NEReductionOperation::validate(), CLFFT1D::validate(), CLArgMinMaxLayer::validate(), CLReductionOperation::validate(), NEGenerateProposalsLayer::validate(), NELSTMLayerQuantized::validate(), CLGenerateProposalsLayer::validate(), CLLSTMLayerQuantized::validate(), NEQLSTMLayer::validate(), and CLQLSTMLayer::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_WINDOWS | ( | f, | |
w | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_windows(__func__, __FILE__, __LINE__, f, w)) |
Definition at line 181 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_nullptr(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 159 of file Validate.h.
Referenced by CpuTransposeKernel::validate(), ClTransposeKernel::validate(), CpuScale::validate(), ClElementWiseUnaryKernel::validate(), CPPSplit< CLSlice, ICLTensor >::validate(), CpuPool2dKernel::validate(), ClPermuteKernel::validate(), CpuConvertFullyConnectedWeightsKernel::validate(), CpuConcatenate::validate(), ClConvertFullyConnectedWeightsKernel::validate(), CpuGemmMatrixAdditionKernel::validate(), ClConcatenate::validate(), CpuAddKernel::validate(), CpuSubKernel::validate(), CLRemapKernel::validate(), NEDepthToSpaceLayerKernel::validate(), ClWinogradInputTransformKernel::validate(), NEPriorBoxLayerKernel::validate(), CpuGemmInterleave4x4Kernel::validate(), CLSpaceToDepthLayerKernel::validate(), CLDepthToSpaceLayerKernel::validate(), CLDeconvolutionLayerUpsampleKernel::validate(), CpuDepthwiseConv2dAssemblyWrapperKernel::validate(), NEMaxUnpoolingLayerKernel::validate(), NERangeKernel::validate(), NEReshapeLayer::validate(), CLMaxUnpoolingLayerKernel::validate(), NEBatchToSpaceLayerKernel::validate(), NECopy::validate(), NETranspose::validate(), CpuPool2dAssemblyWrapperKernel::validate(), CLComparisonKernel::validate(), CpuSoftmaxGeneric< IS_LOG >::validate(), NESelectKernel::validate(), CpuGemmDirectConv2d::validate(), CpuGemmLowpOutputStage::validate(), ClGemmLowpOutputStage::validate(), NEFFT2D::validate(), CLReshapeLayer::validate(), NEPermute::validate(), NEUnstack::validate(), CLUnstack::validate(), CpuWinogradConv2d::validate(), CpuDirectConv2d::validate(), NESoftmaxLayerGeneric< IS_LOG >::validate(), NEFFT1D::validate(), CpuGemmTranspose1xWKernel::validate(), NERNNLayer::validate(), NEStackLayer::validate(), CLBatchToSpaceLayerKernel::validate(), CLFFT2D::validate(), NENormalizationLayer::validate(), ClFullyConnected::validate(), CLFFT1D::validate(), CLROIPoolingLayerKernel::validate(), CpuFullyConnected::validate(), CLDeconvolutionLayer::validate(), CLRNNLayer::validate(), CpuGemmAssemblyDispatch::validate(), CLStackLayer::validate(), CpuArithmeticKernel::validate(), ClLogicalBinaryKernel::validate(), ClGemmConvolution::validate(), NEGenerateProposalsLayer::validate(), CpuGemmConvolution::validate(), ClConv2d::validate(), NEDeconvolutionLayer::validate(), NESlice::validate(), NELSTMLayerQuantized::validate(), CLGenerateProposalsLayer::validate(), CLGEMMDeconvolutionLayer::validate(), CLDirectDeconvolutionLayer::validate(), ClSaturatedArithmeticKernel::validate(), CpuDivisionKernel::validate(), CLSlice::validate(), NELSTMLayer::validate(), CLLSTMLayerQuantized::validate(), CLConvolutionLayer::validate(), CpuPowerKernel::validate(), NEQLSTMLayer::validate(), ClArithmeticKernel::validate(), CpuComparisonKernel::validate(), arm_compute::validate(), CLLSTMLayer::validate(), and CLQLSTMLayer::validate().
#define ARM_COMPUTE_RETURN_ERROR_ON_TENSOR_NOT_2D | ( | t | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_tensor_not_2d(__func__, __FILE__, __LINE__, t)) |
Definition at line 854 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_TENSORS_NOT_EVEN | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_tensors_not_even(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 316 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_TENSORS_NOT_SUBSAMPLED | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_tensors_not_subsampled(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 349 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_UNCONFIGURED_KERNEL | ( | k | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unconfigured_kernel(__func__, __FILE__, __LINE__, k)) |
Definition at line 917 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_DIMENSIONS_GTE | ( | w, | |
md | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_window_dimensions_gte(__func__, __FILE__, __LINE__, w, md)) |
Definition at line 261 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION | ( | f, | |
w, | |||
d | |||
) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_window_not_collapsable_at_dimension(__func__, __FILE__, __LINE__, f, w, d)) |
Definition at line 223 of file Validate.h.