diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:51 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:51 +0100 |
commit | 388b4679b9fd2c455284aa4158ef445228ecab75 (patch) | |
tree | b407a9b9b960d9efeac28877a7d8d0874fa2beaf /operators/ew_unary/clz/clz_20_i32 | |
parent | fe3f0127401c10bd7447ff8490cce5ffaabd42d8 (diff) | |
download | conformance_tests-388b4679b9fd2c455284aa4158ef445228ecab75.tar.gz |
Updating CLZ tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I8324f1d6b456c47a0709e056aa04a74563f58b3b
Diffstat (limited to 'operators/ew_unary/clz/clz_20_i32')
-rw-r--r-- | operators/ew_unary/clz/clz_20_i32/Conformance-result-0.json | 25 | ||||
-rw-r--r-- | operators/ew_unary/clz/clz_20_i32/desc.json | 20 | ||||
-rw-r--r-- | operators/ew_unary/clz/clz_20_i32/input-0.json | 25 | ||||
-rw-r--r-- | operators/ew_unary/clz/clz_20_i32/test.json | 47 |
4 files changed, 117 insertions, 0 deletions
diff --git a/operators/ew_unary/clz/clz_20_i32/Conformance-result-0.json b/operators/ew_unary/clz/clz_20_i32/Conformance-result-0.json new file mode 100644 index 000000000..64d6beb09 --- /dev/null +++ b/operators/ew_unary/clz/clz_20_i32/Conformance-result-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + 0, + 2, + 0, + 0, + 5, + 1, + 2, + 1, + 2, + 1, + 6, + 0, + 1, + 0, + 11, + 0, + 0, + 1, + 1, + 2 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/clz/clz_20_i32/desc.json b/operators/ew_unary/clz/clz_20_i32/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/ew_unary/clz/clz_20_i32/desc.json @@ -0,0 +1,20 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/clz/clz_20_i32/input-0.json b/operators/ew_unary/clz/clz_20_i32/input-0.json new file mode 100644 index 000000000..46bb59c42 --- /dev/null +++ b/operators/ew_unary/clz/clz_20_i32/input-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + -1778349939, + 847689230, + -1282178581, + -1742995019, + 113726348, + 2042782445, + 1012548721, + 1121586479, + 934057792, + 1228636835, + 56807699, + -1597239786, + 1459207534, + -213090775, + 1511465, + -554918261, + -1363438929, + 1832941670, + 1209323014, + 617895985 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/clz/clz_20_i32/test.json b/operators/ew_unary/clz/clz_20_i32/test.json new file mode 100644 index 000000000..5e7ee2ceb --- /dev/null +++ b/operators/ew_unary/clz/clz_20_i32/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CLZ", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |