Compute Library
18.05
|
#include "arm_compute/core/Error.h"
#include "arm_compute/core/HOGInfo.h"
#include "arm_compute/core/IKernel.h"
#include "arm_compute/core/IMultiHOG.h"
#include "arm_compute/core/IMultiImage.h"
#include "arm_compute/core/ITensor.h"
#include "arm_compute/core/MultiImageInfo.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 | |
This file contains all available output stages for GEMMLowp on OpenCL. | |
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_fixed_point (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 fixed point data types or different fixed point positions. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_fixed_point (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 fixed point data types or different fixed point positions. 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_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_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... | |
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... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_fixed_point_position (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 input fixed-point positions are different. More... | |
template<typename... Ts> | |
arm_compute::Status | error_on_mismatching_fixed_point_position (const char *function, const char *file, const int line, const ITensor *tensor_1, const ITensor *tensor_2, Ts...tensors) |
Return an error if the input fixed-point positions are different. More... | |
arm_compute::Status | error_on_value_not_representable_in_fixed_point (const char *function, const char *file, int line, float value, const ITensorInfo *tensor_info) |
Return an error if the fixed-point value is not representable in the specified Q format. More... | |
arm_compute::Status | error_on_value_not_representable_in_fixed_point (const char *function, const char *file, int line, float value, const ITensor *tensor) |
Return an error an error if the fixed-point value is not representable in the specified Q format. 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 848 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 865 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 244 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 802 of file Validate.h.
Referenced by NumPyAccessor::access_tensor(), TopNPredictionsAccessor::access_tensor(), PPMLoader::fill_planar_tensor(), and arm_compute::utils::load_trained_data().
#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 756 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 707 of file Validate.h.
Referenced by arm_compute::utils::draw_detection_rectangle(), PPMLoader::fill_image(), and arm_compute::utils::save_to_ppm().
#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 887 of file Validate.h.
#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 921 of file Validate.h.
#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 938 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 205 of file Validate.h.
#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.
#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.
Referenced by arm_compute::utils::compare_tensor().
#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.
Referenced by arm_compute::test::validation::reference::copy().
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_FIXED_POINT | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_fixed_point(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 608 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_MISMATCHING_FIXED_POINT_POSITION | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_mismatching_fixed_point_position(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 985 of file Validate.h.
#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 673 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 441 of file Validate.h.
Referenced by arm_compute::utils::compare_tensor().
#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 183 of file Validate.h.
#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.
Referenced by arm_compute::setup_assembly_kernel().
#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 818 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 318 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 351 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 903 of file Validate.h.
#define ARM_COMPUTE_ERROR_ON_VALUE_NOT_REPRESENTABLE_IN_FIXED_POINT | ( | ... | ) | ARM_COMPUTE_ERROR_THROW_ON(::arm_compute::error_on_value_not_representable_in_fixed_point(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 1029 of file Validate.h.
#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.
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 225 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 850 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 867 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 246 of file Validate.h.
#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 804 of file Validate.h.
#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 758 of file Validate.h.
#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 889 of file Validate.h.
#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 923 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 940 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 207 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 494 of file Validate.h.
#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.
#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.
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_fixed_point(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 610 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_FIXED_POINT_POSITION | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_mismatching_fixed_point_position(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 987 of file Validate.h.
#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 675 of file Validate.h.
#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.
#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 185 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 163 of file Validate.h.
#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 820 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 320 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 353 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 905 of file Validate.h.
#define ARM_COMPUTE_RETURN_ERROR_ON_VALUE_NOT_REPRESENTABLE_IN_FIXED_POINT | ( | ... | ) | ARM_COMPUTE_RETURN_ON_ERROR(::arm_compute::error_on_value_not_representable_in_fixed_point(__func__, __FILE__, __LINE__, __VA_ARGS__)) |
Definition at line 1031 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 265 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 227 of file Validate.h.