aboutsummaryrefslogtreecommitdiff
path: root/verif/tests/test_schemavalidation.py
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-09-14 16:43:48 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2023-10-02 11:33:03 +0100
commitbb0935f868a5ab09403cf3628848655b06ac1dec (patch)
tree259a157d7c32a6134cbc83d2a2961c7f2e3529fa /verif/tests/test_schemavalidation.py
parent62737b15a30e431dcefaaf28001f304e46598fc6 (diff)
downloadreference_model-bb0935f868a5ab09403cf3628848655b06ac1dec.tar.gz
Update verifier library data-type support
Make compliance meta-data data-type required for all. Add data-type checking for all verifier modes. Add initial enum support for new ROUND compliance mode. Improve print out information from library. Use numpy ctypes.data_as to get f16 support compared to ctypes_lib. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ie983ba4ea958a88556f30c09b3ebc19cd9ec96b7
Diffstat (limited to 'verif/tests/test_schemavalidation.py')
-rw-r--r--verif/tests/test_schemavalidation.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/verif/tests/test_schemavalidation.py b/verif/tests/test_schemavalidation.py
index 1ecd3ee..664e3a4 100644
--- a/verif/tests/test_schemavalidation.py
+++ b/verif/tests/test_schemavalidation.py
@@ -72,11 +72,7 @@ def test_schemavalidation_full_unexpected():
def test_schemavalidation_compliance_minimal():
json = {
"version": "v",
- "tensors": {
- "output": {
- "mode": "mode",
- }
- },
+ "tensors": {"output": {"mode": "mode", "data_type": "type"}},
}
sv = sch.TestDescSchemaValidator()