|
#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) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_WINDOW_NOT_COLLAPSABLE_AT_DIMENSION(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(...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS(...) |
|
#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(...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_TENSORS_NOT_SUBSAMPLED(...) |
|
#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(...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_LAYOUT(...) |
|
#define | ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(...) |
|
#define | ARM_COMPUTE_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(...) |
|
#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, ...) |
|
#define | ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(t, c, ...) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(t, c, ...) |
|
#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_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) |
|
#define | ARM_COMPUTE_RETURN_ERROR_ON_INVALID_SUBTENSOR_VALID_REGION(pv, sv) |
|
|
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...
|
|
bool | has_format_horizontal_subsampling (Format format) |
| Return true if the given format has horizontal subsampling. More...
|
|
bool | has_format_vertical_subsampling (Format format) |
| Return true if the given format has vertical subsampling. More...
|
|
TensorShape | adjust_odd_shape (const TensorShape &shape, Format format) |
| Adjust tensor shape size if width or height are odd for a given multi-planar format. 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...
|
|
TensorShape | calculate_subsampled_shape (const TensorShape &shape, Format format, Channel channel=Channel::UNKNOWN) |
| Calculate subsampled shape for a given format and channel. 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...
|
|