diff options
author | Jerry Ge <jerry.ge@arm.com> | 2023-05-01 18:36:43 +0000 |
---|---|---|
committer | Jerry Ge <jerry.ge@arm.com> | 2023-05-10 02:40:49 +0000 |
commit | 0bd4ec89d52cc1fd36e92dff2fb496b3550ee7f5 (patch) | |
tree | d2662a0e62aec08a648edf61da62ee789a481080 /verif/tests/test_tosa_refmodel.py | |
parent | a4d748b08accce06fab93e2d2b96e499b35ae89b (diff) | |
download | reference_model-0bd4ec89d52cc1fd36e92dff2fb496b3550ee7f5.tar.gz |
Refactor ref_model rank checking and add level check to argmax
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Change-Id: Iad035b31d5e5e83040068e6311501490765bfff7
Diffstat (limited to 'verif/tests/test_tosa_refmodel.py')
-rw-r--r-- | verif/tests/test_tosa_refmodel.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/verif/tests/test_tosa_refmodel.py b/verif/tests/test_tosa_refmodel.py index 1f9cd3e..79e6720 100644 --- a/verif/tests/test_tosa_refmodel.py +++ b/verif/tests/test_tosa_refmodel.py @@ -37,6 +37,7 @@ OUTPUT_RESULT_FILE = "result_numpy_pytest.npy" OUTPUT_CONST_GLOB = "const-*.npy" TEST_DESC_FILENAME = "desc.json" +TOSA_LEVEL = "EIGHTK" # Conversion from refmodel type into the type abbreviation used in the test output REF_MODEL_TYPE_TO_OUT = { @@ -182,6 +183,8 @@ def test_refmodel_simple_op(tosaTest): str(desc_file), "--ofm_file", OUTPUT_OFM_FILE, + "--tosa_level", + TOSA_LEVEL, ] try: run_sh_command(refmodel_cmd, verbose=True, capture_output=True) |