Compute Library
 19.08
Validate.h File Reference

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-2018 ARM Limited.
 
 arm_compute::detail
 

Macros

#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)   ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_nullptr(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#define ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(...)   ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_nullptr(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#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))
 
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_DIMENSIONS(...)   ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_dimensions(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS(...)   ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_dimensions(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES(...)   ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_shapes(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES(...)   ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_shapes(__func__, __FILE__, __LINE__, __VA_ARGS__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#define ARM_COMPUTE_ERROR_ON_FORMAT_NOT_IN(t, ...)   ::arm_compute::error_on_format_not_in(__func__, __FILE__, __LINE__, t, __VA_ARGS__)
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#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__))
 
#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))
 
#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))
 
#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__))
 
#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__))
 
#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))
 
#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))
 
#define ARM_COMPUTE_ERROR_ON_INVALID_MULTI_HOG(m)   ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_multi_hog(__func__, __FILE__, __LINE__, m))
 
#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_MULTI_HOG(m)   ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_multi_hog(__func__, __FILE__, __LINE__, m))
 
#define ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(k)   ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_unconfigured_kernel(__func__, __FILE__, __LINE__, k))
 
#define ARM_COMPUTE_RETURN_ERROR_ON_UNCONFIGURED_KERNEL(k)   ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_unconfigured_kernel(__func__, __FILE__, __LINE__, k))
 
#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))
 
#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))
 
#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))
 
#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))
 

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_invalid_multi_hog (const char *function, const char *file, const int line, const IMultiHOG *multi_hog)
 Return an error if the IMultiHOG container is invalid. 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...
 

Macro Definition Documentation

◆ ARM_COMPUTE_ERROR_ON_CHANNEL_NOT_IN

#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 885 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT

#define ARM_COMPUTE_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT (   f,
 
)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_channel_not_in_known_format(__func__, __FILE__, __LINE__, f, c))

Definition at line 902 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_COORDINATES_DIMENSIONS_GTE

#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 244 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_DATA_LAYOUT_NOT_IN

#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 743 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN

#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 789 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_DATA_TYPE_NOT_IN

#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 691 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_FORMAT_NOT_IN

#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 642 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_INVALID_MULTI_HOG

#define ARM_COMPUTE_ERROR_ON_INVALID_MULTI_HOG (   m)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_multi_hog(__func__, __FILE__, __LINE__, m))

Definition at line 924 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR

#define ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR (   p,
  c,
 
)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_subtensor(__func__, __FILE__, __LINE__, p, c, s))

Definition at line 958 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION

#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 975 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW

#define ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW (   f,
 
)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_invalid_subwindow(__func__, __FILE__, __LINE__, f, s))

Definition at line 205 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_LAYOUT

#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 492 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES

#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 543 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_DIMENSIONS

#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 286 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_QUANTIZATION_INFO

#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 608 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_SHAPES

#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 441 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_MISMATCHING_WINDOWS

#define ARM_COMPUTE_ERROR_ON_MISMATCHING_WINDOWS (   f,
 
)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_windows(__func__, __FILE__, __LINE__, f, w))

Definition at line 183 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_NULLPTR

#define ARM_COMPUTE_ERROR_ON_NULLPTR (   ...)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_nullptr(__func__, __FILE__, __LINE__, __VA_ARGS__))

Definition at line 161 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D

#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 855 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_TENSORS_NOT_EVEN

#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 318 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_TENSORS_NOT_SUBSAMPLED

#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 351 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL

#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 940 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_WINDOW_DIMENSIONS_GTE

#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 263 of file Validate.h.

◆ ARM_COMPUTE_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION

#define ARM_COMPUTE_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION (   f,
  w,
 
)    ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_window_not_collapsable_at_dimension(__func__, __FILE__, __LINE__, f, w, d))

Definition at line 225 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_CHANNEL_NOT_IN

#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 887 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT

#define ARM_COMPUTE_RETURN_ERROR_ON_CHANNEL_NOT_IN_KNOWN_FORMAT (   f,
 
)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_channel_not_in_known_format(__func__, __FILE__, __LINE__, f, c))

Definition at line 904 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_COORDINATES_DIMENSIONS_GTE

#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 246 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_DATA_LAYOUT_NOT_IN

#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 745 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN

#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 791 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN

#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 693 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_INVALID_MULTI_HOG

#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_MULTI_HOG (   m)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_multi_hog(__func__, __FILE__, __LINE__, m))

Definition at line 926 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR

#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR (   p,
  c,
 
)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_subtensor(__func__, __FILE__, __LINE__, p, c, s))

Definition at line 960 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION

#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 977 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBWINDOW

#define ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBWINDOW (   f,
 
)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_invalid_subwindow(__func__, __FILE__, __LINE__, f, s))

Definition at line 207 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_LAYOUT

#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 494 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES

#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 545 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS

#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 288 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO

#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 610 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES

#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 443 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_WINDOWS

#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_WINDOWS (   f,
 
)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_windows(__func__, __FILE__, __LINE__, f, w))

Definition at line 185 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR

#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 163 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_TENSOR_NOT_2D

#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 857 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_TENSORS_NOT_EVEN

#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 320 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_TENSORS_NOT_SUBSAMPLED

#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 353 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_UNCONFIGURED_KERNEL

#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 942 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_DIMENSIONS_GTE

#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 265 of file Validate.h.

◆ ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION

#define ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION (   f,
  w,
 
)    ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_window_not_collapsable_at_dimension(__func__, __FILE__, __LINE__, f, w, d))

Definition at line 227 of file Validate.h.