aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_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_ERRORIF_WrongInputType_14_i48_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_ERRORIF_WrongInputType_14_i48_axis0')
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/desc.json18
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/input-0.json19
-rw-r--r--operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/test.json50
3 files changed, 87 insertions, 0 deletions
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/desc.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/desc.json
new file mode 100644
index 000000000..453da2758
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/desc.json
@@ -0,0 +1,18 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Input data type not supported for this operator"
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/input-0.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/input-0.json
new file mode 100644
index 000000000..3be059d22
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/input-0.json
@@ -0,0 +1,19 @@
+{
+ "type": "int64",
+ "data": [
+ 137214439252011,
+ 57078004783605,
+ -64081661842157,
+ -72741014791432,
+ 63441759717009,
+ 42515873201121,
+ 122574583100170,
+ 54806264557146,
+ -11739055053173,
+ 18378939860048,
+ 4459598500745,
+ -98338247519602,
+ -16530318544315,
+ -90349847420686
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/test.json b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/test.json
new file mode 100644
index 000000000..7fa3b885b
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_ERRORIF_WrongInputType_14_i48_axis0/test.json
@@ -0,0 +1,50 @@
+{
+ 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: [
+ 14
+ ],
+ type: "INT48"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 14
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}