diff options
author | Tai Ly <tai.ly@arm.com> | 2023-09-07 20:49:09 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-09-15 18:10:01 +0000 |
commit | cf84bc9cccbd5dc2fceae1a81c579e41be3c9a06 (patch) | |
tree | aff6bab02c36c095a62381ac8f68d185bdccbe73 /reference_model/include/func_config.h | |
parent | 00f55bf46fe36bebe44e1365becbeb1e0d9e90c9 (diff) | |
download | reference_model-cf84bc9cccbd5dc2fceae1a81c579e41be3c9a06.tar.gz |
[reference_model] Support StatefulOps and the tests for CallOnceOp
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: I03cb878736ccd7e1f5e1f780d7171949a19a9de2
Diffstat (limited to 'reference_model/include/func_config.h')
-rw-r--r-- | reference_model/include/func_config.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/reference_model/include/func_config.h b/reference_model/include/func_config.h index 1e93b89..860d8c6 100644 --- a/reference_model/include/func_config.h +++ b/reference_model/include/func_config.h @@ -35,24 +35,28 @@ struct tosa_level_t struct func_config_t { - std::string operator_fbs = "tosa.fbs"; - std::string test_desc = "desc.json"; - std::string flatbuffer_dir = ""; - std::string output_dir = ""; - std::string tosa_file = ""; - std::string ifm_name = ""; - std::string ifm_file = ""; - std::string ofm_name = ""; - std::string ofm_file = ""; - uint32_t eval = 1; - uint32_t validate_only = 0; - uint32_t output_tensors = 1; - uint32_t tosa_profile = 1; - uint32_t dump_intermediates = 0; - std::string fp_format = "0.5"; - uint32_t precise_mode = 0; - bool abs_mode = 0; // set in main as second run of precise_mode - bool float_is_big_endian = false; // Set in arith_util.h by float_is_big_endian() + std::string operator_fbs = "tosa.fbs"; + std::string test_desc = "desc.json"; + std::string flatbuffer_dir = ""; + std::string output_dir = ""; + std::string tosa_file = ""; + std::string ifm_name = ""; + std::string ifm_file = ""; + std::string ofm_name = ""; + std::string ofm_file = ""; + std::string variable_name = ""; + std::string variable_file = ""; + + uint32_t eval = 1; + uint32_t validate_only = 0; + uint32_t output_tensors = 1; + uint32_t tosa_profile = 1; + uint32_t dump_intermediates = 0; + uint32_t initialize_variable_tensor_from_numpy = 0; + std::string fp_format = "0.5"; + uint32_t precise_mode = 0; + bool abs_mode = 0; // set in main as second run of precise_mode + bool float_is_big_endian = false; // Set in arith_util.h by float_is_big_endian() tosa_level_t tosa_level; static constexpr tosa_level_t EIGHTK = { 6, 8192, 8192, 64 }; |