diff options
author | ramy.elgammal@arm.com <ramy.elgammal@arm.com> | 2023-06-16 20:45:48 +0100 |
---|---|---|
committer | Ramy Elgammal <ramy.elgammal@arm.com> | 2023-06-23 11:43:38 +0000 |
commit | a2561f0ff2bdd3fd7d968a56a19c35a59804b992 (patch) | |
tree | 31598c3cd8a52f5ee57ada627b5425acb6fbad06 /tests | |
parent | 90d15b985dbefd730941cbc79997baa0089dc4f3 (diff) | |
download | ComputeLibrary-a2561f0ff2bdd3fd7d968a56a19c35a59804b992.tar.gz |
Fix doxygen warnings
Resolves: COMPMID-6312
Signed-off-by: ramy.elgammal@arm.com <ramy.elgammal@arm.com>
Change-Id: I9f68ccd2edb8c4d03fec19e6b9c29609d4833342
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9806
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/framework/Framework.h | 6 | ||||
-rw-r--r-- | tests/validate_examples/graph_validate_utils.h | 14 | ||||
-rw-r--r-- | tests/validation/Helpers.h | 3 |
3 files changed, 5 insertions, 18 deletions
diff --git a/tests/framework/Framework.h b/tests/framework/Framework.h index 72ec7484d7..2dded30038 100644 --- a/tests/framework/Framework.h +++ b/tests/framework/Framework.h @@ -65,7 +65,7 @@ struct FrameworkConfig LogLevel log_level{ LogLevel::NONE }; /**< Verbosity of the output. */ bool configure_only{ false }; /**< Only configure kernels */ bool print_rerun_cmd{ false }; /**< Print the command to rerun the failed testcase */ - unsigned int seed{0}; /**< The seed that is used to fill tensors with random values.*/ + unsigned int seed{ 0 }; /**< The seed that is used to fill tensors with random values.*/ }; /** Information about a test case. @@ -123,8 +123,6 @@ public: * registering test cases. * * @param[in] name Name of the added test suite. - * - * @return Name of the current test suite. */ void push_suite(std::string name); @@ -361,7 +359,7 @@ private: bool _configure_only{ false }; bool _new_fixture_call{ false }; bool _print_rerun_cmd{ false }; - unsigned int _seed {0}; + unsigned int _seed{ 0 }; using create_function = std::unique_ptr<Instrument>(); std::map<InstrumentsDescription, create_function *> _available_instruments{}; diff --git a/tests/validate_examples/graph_validate_utils.h b/tests/validate_examples/graph_validate_utils.h index 0921fbfdef..91d62485d1 100644 --- a/tests/validate_examples/graph_validate_utils.h +++ b/tests/validate_examples/graph_validate_utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020 Arm Limited. + * Copyright (c) 2019-2020, 2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -309,8 +309,6 @@ public: * * @param[in] options Options to consume * @param[out] common_params params structure to consume. - * - * @return consume_common_graph_parameters structure containing the common graph parameters */ void consume_common_graph_parameters(CommonGraphValidateOptions &options, CommonParams &common_params) { @@ -445,8 +443,6 @@ public: * @param[in] seed seed for the randomization function * @param[in] low lower bound for random values * @param[in] high upper bound for random values - * - * @return None. */ void fill_tensor(arm_compute::test::SimpleTensor<uint8_t> &tensor, std::random_device::result_type seed, uint8_t low, uint8_t high) { @@ -473,8 +469,6 @@ public: * @param[in] seed seed for the randomization function * @param[in] low lower bound for random values * @param[in] high upper bound for random values - * - * @return None. */ void fill_tensor(arm_compute::test::SimpleTensor<int32_t> &tensor, std::random_device::result_type seed, int32_t low, int32_t high) { @@ -494,8 +488,6 @@ public: * @param[in] seed seed for the randomization function * @param[in] low lower bound for random values * @param[in] high upper bound for random values - * - * @return None. */ void fill_tensor(arm_compute::test::SimpleTensor<float> &tensor, std::random_device::result_type seed, float low, float high) { @@ -516,8 +508,6 @@ public: * @param[in] seed seed for the randomization function * @param[in] low lower bound for random values * @param[in] high upper bound for random values - * - * @return None. */ void fill_tensor(arm_compute::test::SimpleTensor<half> &tensor, std::random_device::result_type seed, half low, half high) { @@ -559,8 +549,6 @@ public: * * @param[in] tensor Tensor result of the actual operation passed into the Accessor. * @param[in] output Tensor result of the reference implementation. - * - * @return None. */ void validate(ITensor &tensor, arm_compute::test::SimpleTensor<D> output) { diff --git a/tests/validation/Helpers.h b/tests/validation/Helpers.h index 2cbfaa0043..3dd0a6f192 100644 --- a/tests/validation/Helpers.h +++ b/tests/validation/Helpers.h @@ -143,6 +143,7 @@ SimpleTensor<float> convert_from_asymmetric(const SimpleTensor<T> &src); * @param[in] src Float tensor. * @param[in] quantization_info Quantification information. * + * \relates arm_compute::test::SimpleTensor * @return Quantized tensor. */ template <typename T> @@ -161,7 +162,7 @@ SimpleTensor<float> convert_from_symmetric(const SimpleTensor<T> &src); * * @param[in] src Float tensor. * @param[in] quantization_info Quantification information. - * + * \relates arm_compute::test::SimpleTensor * @return Quantized tensor. */ template <typename T> |