tag | 45f9082b7cbfa0e6884ff229ed92f6a58208cda7 | |
---|---|---|
tagger | Eric Kunze <eric.kunze@arm.com> | Wed Dec 07 08:57:17 2022 -0800 |
object | 262fa7c9c872865f2779b386ae5c5876683b1e47 |
Conformance tests 0.50.0 release tag - Started adding tests for Main Inference – CONST, IDENTITY, CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE, GATHER, SCATTER, ARGMAX, MAX_POOL2D - Various updates to align with specification updates.
commit | 262fa7c9c872865f2779b386ae5c5876683b1e47 | [log] [tgz] |
---|---|---|
author | Jeremy Johnson <jeremy.johnson@arm.com> | Wed Dec 07 14:25:52 2022 +0000 |
committer | Jeremy Johnson <jeremy.johnson@arm.com> | Wed Dec 07 14:25:52 2022 +0000 |
tree | 59c71affc0dce266dbdfcf6b21c55014cf07b91b | |
parent | 435e11481d0fb6b85d9cbb2415437a87e5174ac3 [diff] |
Updating tests for v0.50.0 release Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id01f6915761d7876d8183baabebb41267cb42367
This repository contains the conformance tests for the Tensor Operator Set Architecture (TOSA) Specification https://git.mlplatform.org/tosa/specification.git.
These conformance tests cover the Base Inference profile (TOSA-BI) only.
There are tests included that cover examples of TensorFlow Lite framework operators converted to TOSA.
The conformance tests repository has branches that correspond to each TOSA version (major.minor), and tags (major.minor.patch) that match to specific versions.
Perform the following command to check out a specific version:
git checkout --recurse-submodules VERSION
Where VERSION
can be for example: v0.23
or v0.23.0
Typical test contents will be:
test*.json
- TOSA test in flatbuffer JSON formatinput-*.json
or placeholder-*.json
- input files (e.g. tensors) in JSON formatConformance-*.json
- expected output file in JSON formatdesc.json
- test meta-data in JSON formatmodel-*
- optional framework model file, used to create the TOSA testA JSON flatbuffer TOSA test file needs to be used with a corresponding version of the schema file. The schema is linked via git submodules and should be checked out with the specific version chosen above. You can find the schema:
ls -l third_party/serialization_lib/schema/tosa.fbs
If you have not checked out a specific conformance version, then use the following command to initialise the necessary submodule:
git submodule update --init --recursive
It is recommended to use these tests with the Unit Test Runner from the TOSA Unit Test Infrastructure in the TOSA Reference Model https://git.mlplatform.org/tosa/reference_model.git, please see that repository for more information.
The TOSA Conformance tests are licensed under Apache-2.0 unless otherwise noted.