diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-09-04 17:04:21 +0100 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-09-07 16:04:07 +0000 |
commit | 77fc614916c1afa506fccb0ff2e5260aae8608b6 (patch) | |
tree | a3b68a8c2375311f65446710e0e960c784f76dc3 /README.md | |
parent | 7021ef064f7daeca260bb1f1bd61b5bbc6473aa5 (diff) | |
download | reference_model-77fc614916c1afa506fccb0ff2e5260aae8608b6.tar.gz |
Add desc.json schema validation with compliance/data_gen extensions
Rename scripts utlities to tosa_* such as tosa_json2numpy
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ie8d584e2afb189fb74cf96b39590c7c27444ba14
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -489,12 +489,13 @@ tosa_verif_conformance_generator \ Included in this repository are some support utilities used by the test runner: -* `json2numpy` - converts from JSON format to numpy array or the reverse operation. -* `json2fbbin` - converts from JSON flatbuffer format to flatbuffer +* `tosa_json2numpy` - converts from JSON format to numpy array or the reverse operation. +* `tosa_json2fbbin` - converts from JSON flatbuffer format to flatbuffer binary format or the reverse operation. This is dependent on the FlatBuffers command `flatc` - see the section on the FlatBuffers compiler below. * `tosa_verif_result_check` - compares two results files. -* `convert2conformance` - converts a unit test into a conformance suitable test. +* `tosa_convert2conformance` - converts a unit test into a conformance suitable test. +* `tosa_schemavalidation` - validates a test desc.json against the schema. Please see the respective `--help` of each utility for more information on using them standalone. @@ -502,8 +503,8 @@ them standalone. ### FlatBuffers compiler The FlatBuffers compiler tool (`flatc`) is only needed if you want to use -json2fbbin to convert the TOSA flatbuffer binary test files (.tosa) to JSON -or from JSON to binary. +tosa_json2fbbin to convert the TOSA flatbuffer binary test files (.tosa) to +JSON or from JSON to binary. It is best to use the flatbuffer version that comes with the reference model. After following the reference model compilation instructions, you can build the FlatBuffers tool using: |