From b5fabec33abeca2d92c20c7b094fa3f113d0ddd8 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Tue, 7 Jun 2022 05:20:44 +0000 Subject: Remove quantization info from serialization attributes Any needed information moves into the attributes for each operator. New serialization library version removes teh quantization information attributes from the schema Signed-off-by: Eric Kunze Change-Id: Icf6165687ab1fd34a01f64c01b0b92b2820e72fa --- verif/generator/tosa_error_if.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'verif/generator/tosa_error_if.py') diff --git a/verif/generator/tosa_error_if.py b/verif/generator/tosa_error_if.py index 1967d8a..b331a42 100644 --- a/verif/generator/tosa_error_if.py +++ b/verif/generator/tosa_error_if.py @@ -1003,12 +1003,7 @@ class TosaErrorValidator: Generally input_zp is index 0, output_zp is index 1 """ - if isinstance(qinfo, tuple): - zero_point = qinfo[index] - else: - # For use: qinfo.ints[0][1] = input_zp, qinfo.ints[1][1] = output_zp - zero_point = qinfo.ints[index][1] - return zero_point + return qinfo[index] @staticmethod def evInputZeroPointNotZero(check=False, **kwargs): -- cgit v1.2.1