From c357c47be8a3f210f9eee9a05cc13f1051b036d3 Mon Sep 17 00:00:00 2001 From: Alex Gilday Date: Wed, 21 Mar 2018 13:54:09 +0000 Subject: COMPMID-1008: Fix Doxygen issues Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723 Reviewed-by: Michalis Spyrou Tested-by: Jenkins --- arm_compute/core/Validate.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'arm_compute/core/Validate.h') diff --git a/arm_compute/core/Validate.h b/arm_compute/core/Validate.h index 08e872fd90..8a0257407c 100644 --- a/arm_compute/core/Validate.h +++ b/arm_compute/core/Validate.h @@ -61,7 +61,7 @@ inline bool have_different_dimensions(const Dimensions &dim1, const Dimension return false; } -/** Functor to compare two @ref Dimensions objects and throw an error on mismatch. +/** Function to compare two @ref Dimensions objects and throw an error on mismatch. * * @param[in] dim Object to compare against. * @param[in] function Function in which the error occurred. @@ -72,6 +72,13 @@ template class compare_dimension { public: + /** Construct a comparison function. + * + * @param[in] dim Dimensions to compare. + * @param[in] function Source function. Used for error reporting. + * @param[in] file Source code file. Used for error reporting. + * @param[in] line Source code line. Used for error reporting. + */ compare_dimension(const Dimensions &dim, const char *function, const char *file, int line) : _dim{ dim }, _function{ function }, _file{ file }, _line{ line } { @@ -80,6 +87,8 @@ public: /** Compare the given object against the stored one. * * @param[in] dim To be compared object. + * + * @return a status. */ arm_compute::Status operator()(const Dimensions &dim) { @@ -109,11 +118,19 @@ inline arm_compute::Status for_each_error(F &&func, T &&arg, Ts &&... args) return arm_compute::Status{}; } +/** Get the info for a tensor, dummy struct */ template struct get_tensor_info_t; +/** Get the info for a tensor */ template <> struct get_tensor_info_t { + /** Get the info for a tensor. + * + * @param[in] tensor Tensor. + * + * @return tensor info. + */ ITensorInfo *operator()(const ITensor *tensor) { return tensor->info(); @@ -845,6 +862,8 @@ arm_compute::Status error_on_invalid_multi_hog(const char *function, const char * @param[in] file Name of the file where the error occurred. * @param[in] line Line on which the error occurred. * @param[in] kernel Kernel to validate. + * + * @return Status */ arm_compute::Status error_on_unconfigured_kernel(const char *function, const char *file, const int line, const IKernel *kernel); -- cgit v1.2.1