From 43e3719492563cc33f23bf07e273c743be658e9b Mon Sep 17 00:00:00 2001 From: Matthew Haddon Date: Fri, 9 Jul 2021 14:13:02 +0100 Subject: 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 Change-Id: I92e5af6fd1e2b83bdb23ac4a4ab350010aeeeccb --- verif/tosa_test_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'verif') 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 -- cgit v1.2.1