From e86fd34cb3881d5a9c65c1efdbda437314fb83cb Mon Sep 17 00:00:00 2001 From: Matthew Haddon Date: Tue, 7 Sep 2021 16:12:21 +0100 Subject: Add ERROR_IF support for RESIZE * TosaErrorValidator implemented to produce and test for ERROR_IF conditions * RESIZE specific ERROR_IF test support added * Set rank and type parameters before test generation loop to avoid multiple checks for valid parameters * Increase output dimensions if IFM/OFM ratio smaller than 1/16 Signed-off-by: Matthew Haddon Change-Id: I430e13383d99c2e25354f53d3703fb9be973f6d4 --- verif/tosa_verif_build_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'verif/tosa_verif_build_tests.py') diff --git a/verif/tosa_verif_build_tests.py b/verif/tosa_verif_build_tests.py index 02d1934..5b84314 100755 --- a/verif/tosa_verif_build_tests.py +++ b/verif/tosa_verif_build_tests.py @@ -235,10 +235,10 @@ def main(): print("{} matching tests".format(len(testList))) results = [] - for opName, testStr, dtype, shapeList, testArgs in testList: + for opName, testStr, dtype, error, shapeList, testArgs in testList: if args.verbose: print(testStr) - results.append(ttg.serializeTest(opName, testStr, dtype, shapeList, testArgs)) + results.append(ttg.serializeTest(opName, testStr, dtype, error, shapeList, testArgs)) print(f"Done creating {len(results)} tests") -- cgit v1.2.1