From 718f347a2d886381de19420b5b5b99db8f2b7338 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 30 Nov 2023 14:18:19 +0000 Subject: Main Compliance FP16 support - generate and verify. FP16 support for all existing operators for compliance: * DOT_PRODUCT * ULP * EXACT * ABS_ERROR Signed-off-by: Jeremy Johnson Change-Id: I8d25448a793375b53880da3787d8f839767f02cf --- verif/generator/tosa_arg_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'verif/generator/tosa_arg_gen.py') diff --git a/verif/generator/tosa_arg_gen.py b/verif/generator/tosa_arg_gen.py index 8e88390..193da73 100644 --- a/verif/generator/tosa_arg_gen.py +++ b/verif/generator/tosa_arg_gen.py @@ -1415,9 +1415,9 @@ class TosaTensorValuesGen: if ( error_name is None and argsDict["dg_type"] != gtu.ComplianceMode.DOT_PRODUCT - and dtype in (DType.FP16, DType.BF16) + and dtype in (DType.BF16,) ): - # TODO - Remove once FP16 and BF16 enabled for DOT_PRODUCT compliance + # TODO - Remove once BF16 enabled for DOT_PRODUCT compliance # Limit ranges for (non error & non compliance) FP tests by using # values that can be multiplied on any axis to not hit infinity/NaN IC = shapeList[0][1] -- cgit v1.2.1