diff options
author | Matthew Haddon <matthew.haddon@arm.com> | 2021-07-09 14:13:02 +0100 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2021-07-13 16:38:51 +0000 |
commit | 43e3719492563cc33f23bf07e273c743be658e9b (patch) | |
tree | de7df46c6e25e5aeadfcd17e89a5fbad1d213ec7 | |
parent | 97eb75f204b21268b7a5d2e375bd025c8efb4043 (diff) | |
download | reference_model-43e3719492563cc33f23bf07e273c743be658e9b.tar.gz |
Make operator tests follow consistent naming scheme
* By making the naming scheme consistent for MUL tests
(shape_type_perm_shift) we are more easily able to parse parameters.
This is the same system used for operators like RESHAPE, where perm0 is
the only permutation allowed, but it still included in the test name.
* For multiple operators axis and axis value were split by an underscore,
Now the form is axisX in line with other parameters.
Signed-off-by: Matthew Haddon <matthew.haddon@arm.com>
Change-Id: I92e5af6fd1e2b83bdb23ac4a4ab350010aeeeccb
-rw-r--r-- | verif/tosa_test_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/verif/tosa_test_gen.py b/verif/tosa_test_gen.py index b3731ce..cf9e06a 100644 --- a/verif/tosa_test_gen.py +++ b/verif/tosa_test_gen.py @@ -348,7 +348,7 @@ class TosaArgGen: shape = shapeList[0] for a in range(0, len(shape)): - axes.append(("axis_{}".format(a), [a])) + axes.append(("axis{}".format(a), [a])) return axes @staticmethod @@ -575,7 +575,7 @@ class TosaArgGen: arg_list.append(("perm{}_shift{}".format(p, shift), [shift])) else: - arg_list.append(("shift0", [0])) + arg_list.append(("perm0_shift0", [0])) return arg_list |