aboutsummaryrefslogtreecommitdiff
path: root/verif/conformance/tosa_main_profile_ops_info.json
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-09-15 10:38:17 +0100
committerEric Kunze <eric.kunze@arm.com>2022-11-19 00:42:57 +0000
commite4b08ffbe457c8932740e3171964cf2e7cd69b4f (patch)
treeeaa7a48d1de8e1819398c63110e99f993c0aa847 /verif/conformance/tosa_main_profile_ops_info.json
parent52460a8b21e3691cd56b22e62986fa24012b8e68 (diff)
downloadreference_model-e4b08ffbe457c8932740e3171964cf2e7cd69b4f.tar.gz
Initial set up of Main Inference conformance test gen
tosa-verif-build-tests - option for setting FP values range - option for recursively finding tests - change from os.path to Path tosa_verif_result_check - option to supply FP tolerance - output difference and max tolerance on contents mismatch - change from os.path to Path MI conformance - contains examples of AVG_POOL2D and CONV2D tests Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I8e1645cd8f10308604400ea53eef723ca163eed7
Diffstat (limited to 'verif/conformance/tosa_main_profile_ops_info.json')
-rw-r--r--verif/conformance/tosa_main_profile_ops_info.json96
1 files changed, 96 insertions, 0 deletions
diff --git a/verif/conformance/tosa_main_profile_ops_info.json b/verif/conformance/tosa_main_profile_ops_info.json
new file mode 100644
index 0000000..656cdde
--- /dev/null
+++ b/verif/conformance/tosa_main_profile_ops_info.json
@@ -0,0 +1,96 @@
+{
+ "avg_pool2d": {
+ "group": "tensor",
+ "generator_args": [
+ [
+ "--target-dtype",
+ "fp32",
+ "--target-dtype",
+ "fp16",
+ "--target-dtype",
+ "bf16",
+ "--fp-values-range",
+ "-2.0,2.0",
+ "--target-shape",
+ "1,49,42,28",
+ "--target-shape",
+ "3,11,44,3",
+ "--allow-pooling-and-conv-oversizes"
+ ],
+ [
+ "--target-dtype",
+ "fp32",
+ "--fp-values-range",
+ "-2.0,2.0",
+ "--target-shape",
+ "1,65535,5,1",
+ "--target-shape",
+ "1,3,65537,1",
+ "--allow-pooling-and-conv-oversizes"
+ ]
+ ],
+ "params": {
+ },
+ "permutes": [
+ "shape",
+ "type",
+ "accum_type"
+ ],
+ "sparsity": {
+ "pad": 17
+ },
+ "profile": [
+ "tosa-mi"
+ ]
+ },
+ "conv2d": {
+ "group": "tensor",
+ "generator_args": [
+ [
+ "--target-dtype",
+ "fp32",
+ "--target-dtype",
+ "fp16",
+ "--target-dtype",
+ "bf16",
+ "--fp-values-range",
+ "-2.0,2.0",
+ "--target-shape",
+ "1,49,42,28",
+ "--target-shape",
+ "1,11,44,13",
+ "--allow-pooling-and-conv-oversizes"
+ ],
+ [
+ "--target-dtype",
+ "fp32",
+ "--fp-values-range",
+ "-2.0,2.0",
+ "--target-shape",
+ "1,65535,4,1",
+ "--target-shape",
+ "1,5,65536,1",
+ "--max-conv-dilation",
+ "1",
+ "--allow-pooling-and-conv-oversizes"
+ ]
+ ],
+ "params": {
+ "shape": [],
+ "type": [],
+ "kernel": [],
+ "stride": [],
+ "pad": [],
+ "dilation": []
+ },
+ "permutes": [
+ "kernel",
+ "shape",
+ "type",
+ "pad"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+ }
+} \ No newline at end of file