summaryrefslogtreecommitdiff
path: root/source/application/main/include
diff options
context:
space:
mode:
authorLiam Barry <liam.barry@arm.com>2022-01-25 14:31:15 +0000
committerLiam Barry <liam.barry@arm.com>2022-01-25 16:25:17 +0000
commite958850d7672cd81a5eb48285a2df94b8f0595f0 (patch)
tree98628d840e5b1d6e96f38d31678e0cb8318d15f7 /source/application/main/include
parentee98bd6f41fc78e3f87c61b5c62f2b07bf8b817a (diff)
downloadml-embedded-evaluation-kit-e958850d7672cd81a5eb48285a2df94b8f0595f0.tar.gz
MLECO-2872 Minor improvement to CommonUseCaseUtils
Replaced overloaded PresentInferenceresults with single function and removed logic to handle arguments which are no longer passed. Change-Id: I745271638fcf78b7121c2a4b95844b752643bac2 Signed-off-by: Liam Barry <liam.barry@arm.com>
Diffstat (limited to 'source/application/main/include')
-rw-r--r--source/application/main/include/UseCaseCommonUtils.hpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/source/application/main/include/UseCaseCommonUtils.hpp b/source/application/main/include/UseCaseCommonUtils.hpp
index a3b606d..c91dc4a 100644
--- a/source/application/main/include/UseCaseCommonUtils.hpp
+++ b/source/application/main/include/UseCaseCommonUtils.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2022 Arm Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -57,32 +57,6 @@ namespace image{
**/
bool PresentInferenceResult(hal_platform & platform,
const std::vector < arm::app::ClassificationResult > & results);
-
-
- /**
- * @brief Presents inference results along with the inference time using the data presentation
- * object.
- * @param[in] platform Reference to the hal platform object.
- * @param[in] results Vector of classification results to be displayed.
- * @param[in] results Inference time in ms.
- * @return true if successful, false otherwise.
- **/
- bool PresentInferenceResult(hal_platform & platform,
- const std::vector < arm::app::ClassificationResult > & results,
- const time_t infTimeMs);
-
- /**
- * @brief Presents inference results along with the inference time using the data presentation
- * object.
- * @param[in] platform Reference to the hal platform object.
- * @param[in] results Vector of classification results to be displayed.
- * @param[in] results Inference time in ms.
- * @return true if successful, false otherwise.
- **/
- bool PresentInferenceResult(hal_platform & platform,
- const std::vector < arm::app::ClassificationResult > & results,
- bool profilingEnabled,
- const time_t infTimeMs = 0);
}
/**