diff options
author | Won Jeon <won.jeon@arm.com> | 2024-01-18 06:31:55 +0000 |
---|---|---|
committer | Won Jeon <won.jeon@arm.com> | 2024-01-23 16:56:33 +0000 |
commit | 64e4bfe627ded0ba44ff60b23db28c1ff5d73d13 (patch) | |
tree | e4744f2124d90882c97af2159c460ba1d7c46d86 /verif/generator/tosa_utils.py | |
parent | 8690a0873fac28acccbb0acb15c16e8337e14df1 (diff) | |
download | reference_model-64e4bfe627ded0ba44ff60b23db28c1ff5d73d13.tar.gz |
Update RESHAPE and TILE conformance testing
Signed-off-by: Won Jeon <won.jeon@arm.com>
Change-Id: Iaf59472cb32e03a92bad87ae9dba1b7548f20268
Diffstat (limited to 'verif/generator/tosa_utils.py')
-rw-r--r-- | verif/generator/tosa_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/verif/generator/tosa_utils.py b/verif/generator/tosa_utils.py index 3d733f4..33db95f 100644 --- a/verif/generator/tosa_utils.py +++ b/verif/generator/tosa_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2023, ARM Limited. +# Copyright (c) 2021-2024, ARM Limited. # SPDX-License-Identifier: Apache-2.0 import struct import sys @@ -49,13 +49,14 @@ class DataGenType(IntEnum): OP_BOUNDARY = 2 OP_FULLSET = 3 OP_SPECIAL = 4 + FIXED_DATA = 5 def dtypeIsSupportedByCompliance(dtype): """Types supported by the new data generation and compliance flow.""" if isinstance(dtype, list) or isinstance(dtype, tuple): dtype = dtype[0] - return dtype in (DType.FP32, DType.FP16) + return dtype in (DType.FP32, DType.FP16, DType.SHAPE) def getOpNameFromOpListName(opName): |