aboutsummaryrefslogtreecommitdiff
path: root/utils/CommonGraphOptions.h
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2021-02-03 12:17:35 +0000
committerSiCong Li <sicong.li@arm.com>2021-02-09 16:02:44 +0000
commit4841c97170b85be0706b65d424e967e561cef932 (patch)
tree31faa2e082a57f16c49092d902410b9397ed6384 /utils/CommonGraphOptions.h
parent9f7d55a3566b0f1044110000b033d663b26d3a6c (diff)
downloadComputeLibrary-4841c97170b85be0706b65d424e967e561cef932.tar.gz
Add mlgo to graph examples
Resolves COMPMID-3847 Change-Id: I99f73bfc8eda66e8ce1dd1f2a18be76e9d826569 Signed-off-by: SiCong Li <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5033 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/CommonGraphOptions.h')
-rw-r--r--utils/CommonGraphOptions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/CommonGraphOptions.h b/utils/CommonGraphOptions.h
index dac2e10b19..13cd653e46 100644
--- a/utils/CommonGraphOptions.h
+++ b/utils/CommonGraphOptions.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020 Arm Limited.
+ * Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -108,6 +108,7 @@ struct CommonGraphParams
std::string validation_file{};
std::string validation_path{};
std::string tuner_file{};
+ std::string mlgo_file{};
unsigned int validation_range_start{ 0 };
unsigned int validation_range_end{ std::numeric_limits<unsigned int>::max() };
};
@@ -165,6 +166,7 @@ public:
SimpleOption<std::string> *validation_path; /**< Validation data path */
SimpleOption<std::string> *validation_range; /**< Validation range */
SimpleOption<std::string> *tuner_file; /**< File to load/store the tuner's values from */
+ SimpleOption<std::string> *mlgo_file; /**< File to load the MLGO heuristics from */
};
/** Consumes the common graph options and creates a structure containing any information