From 3a4785772a0f076e2e9653ad70dbb2fc412ac302 Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Fri, 22 Jan 2021 17:21:02 -0800 Subject: Remove AINT8 - Updated C and Py serialization libraries, updated licence files - Removed AINT8 from TOSA reference tests Signed-off-by: Kevin Cheng Signed-off-by: Jared Smolens Change-Id: I860bfeaad5a075e50f569c8f6861927ebacf1378 --- reference_model/src/quant_util.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'reference_model/src/quant_util.h') diff --git a/reference_model/src/quant_util.h b/reference_model/src/quant_util.h index f9ac501..1784493 100644 --- a/reference_model/src/quant_util.h +++ b/reference_model/src/quant_util.h @@ -1,5 +1,5 @@ -// Copyright (c) 2020, ARM Limited. +// Copyright (c) 2020-2021, ARM Limited. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,22 +68,13 @@ class TypeChecker public: static bool is_integer(DType dtype) { - if (dtype == DType_INT4 || dtype == DType_INT8 || dtype == DType_AINT8 || dtype == DType_UINT8 || + if (dtype == DType_INT4 || dtype == DType_INT8 || dtype == DType_UINT8 || dtype == DType_INT16 || dtype == DType_INT32 || dtype == DType_INT48) { return true; } return false; } - static bool is_symmetric(DType dtype) - { - if (dtype == DType_INT4 || dtype == DType_INT8 || dtype == DType_INT16 || dtype == DType_INT32 || - dtype == DType_INT48) - { - return true; - } - return false; - } }; }; // namespace TosaReference -- cgit v1.2.1