aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reverse/reverse_7x3_i32_axis0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:24 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:24 +0100
commit3556a8fcdd6c62795fdc9828c9cae59e4e62b96c (patch)
tree88f82e4ff92caef59c29ccd5d0fc7e150a1518fb /operators/data_layout/reverse/reverse_7x3_i32_axis0
parent49986ff81f505448e2b119535a671c3ba92a72c6 (diff)
downloadconformance_tests-3556a8fcdd6c62795fdc9828c9cae59e4e62b96c.tar.gz
Updating REVERSE tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I9c70ada5df536816da7bf6230a7eb61a3ef42f08
Diffstat (limited to 'operators/data_layout/reverse/reverse_7x3_i32_axis0')
-rw-r--r--operators/data_layout/reverse/reverse_7x3_i32_axis0/Conformance-result-0.json40
-rw-r--r--operators/data_layout/reverse/reverse_7x3_i32_axis0/desc.json20
-rw-r--r--operators/data_layout/reverse/reverse_7x3_i32_axis0/input-0.json40
-rw-r--r--operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json52
4 files changed, 152 insertions, 0 deletions
diff --git a/operators/data_layout/reverse/reverse_7x3_i32_axis0/Conformance-result-0.json b/operators/data_layout/reverse/reverse_7x3_i32_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..1e59fd666
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_7x3_i32_axis0/Conformance-result-0.json
@@ -0,0 +1,40 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 1002410810,
+ 87080954,
+ -993149000
+ ],
+ [
+ 1808426892,
+ 1504209336,
+ 15603294
+ ],
+ [
+ 250470452,
+ 1659587761,
+ -1596577146
+ ],
+ [
+ 54714638,
+ 1324140170,
+ 1016643190
+ ],
+ [
+ 113286903,
+ -598472192,
+ 1983292624
+ ],
+ [
+ -294556609,
+ 127404572,
+ 541219484
+ ],
+ [
+ -675589904,
+ 211073520,
+ -1301490712
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_7x3_i32_axis0/desc.json b/operators/data_layout/reverse/reverse_7x3_i32_axis0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_7x3_i32_axis0/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/data_layout/reverse/reverse_7x3_i32_axis0/input-0.json b/operators/data_layout/reverse/reverse_7x3_i32_axis0/input-0.json
new file mode 100644
index 000000000..eac11620c
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_7x3_i32_axis0/input-0.json
@@ -0,0 +1,40 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -675589904,
+ 211073520,
+ -1301490712
+ ],
+ [
+ -294556609,
+ 127404572,
+ 541219484
+ ],
+ [
+ 113286903,
+ -598472192,
+ 1983292624
+ ],
+ [
+ 54714638,
+ 1324140170,
+ 1016643190
+ ],
+ [
+ 250470452,
+ 1659587761,
+ -1596577146
+ ],
+ [
+ 1808426892,
+ 1504209336,
+ 15603294
+ ],
+ [
+ 1002410810,
+ 87080954,
+ -993149000
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json b/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json
new file mode 100644
index 000000000..aed135008
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_7x3_i32_axis0/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7,
+ 3
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 3
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}