aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/func_config.def
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-06-28 16:23:24 -0700
committerKevin Cheng <kevin.cheng@arm.com>2021-07-01 10:19:13 -0700
commitd5934146b0b4e18bb6bad213901e48a5a20bef00 (patch)
tree360ad87112c5d2f35072f57bd1f2ba035cd3a054 /reference_model/src/func_config.def
parenta618557ba688fba16eefd7d9f4c10cc11cb085ef (diff)
downloadreference_model-d5934146b0b4e18bb6bad213901e48a5a20bef00.tar.gz
Adding option -Coutput_dir= to control output location.
- If not specified, will be initialized with dirname(test_desc) - Like -Cflatbuffer_dir, reference model isn't responsible for creating directory. User need to make sure target directory path exists. Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: I9cfcc801cff648e53306f8de8ea8d5eaaf87ea80
Diffstat (limited to 'reference_model/src/func_config.def')
-rw-r--r--reference_model/src/func_config.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/reference_model/src/func_config.def b/reference_model/src/func_config.def
index 8270dbb..cf78ab8 100644
--- a/reference_model/src/func_config.def
+++ b/reference_model/src/func_config.def
@@ -66,6 +66,7 @@
DEF_OPTION_STR(operator_fbs, "Flat buffer syntax file", FOF_STR_LEN, "tosa.fbs")
DEF_OPTION_STR(test_desc, "Json test descriptor", FOF_STR_LEN, "desc.json")
DEF_OPTION_STR(flatbuffer_dir, "Flatbuffer directory to load. If not specified, it will be overwritten by dirname(test_desc)", FOF_STR_LEN, "")
+DEF_OPTION_STR(output_dir, "Output directory to write. If not specified, it will be overwritten by dirname(test_desc)", FOF_STR_LEN, "")
DEF_OPTION_STR(tosa_file, "Flatbuffer file. Support .json or .tosa. Specifying this will overwrite the one initialized by -Ctest_desc.", FOF_STR_LEN, "")
DEF_OPTION_STR(ifm_name, "Input tensor name. Comma(,) seperated. Specifying this will overwrite the one initialized by -Ctest_desc.", FOF_STR_LEN, "")
DEF_OPTION_STR(ifm_file, "Input tensor numpy Comma(,) seperated. file to initialize with placeholder. Specifying this will overwrite the one initialized by -Ctest_desc.", FOF_STR_LEN, "")