aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:29 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:29 +0100
commit00d05b3831fa305a377fda5ad6d81c53964a4d13 (patch)
tree3e9caa35371288dccb3a6de7f3e8353ab007c5b3 /operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0
parent52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (diff)
downloadconformance_tests-00d05b3831fa305a377fda5ad6d81c53964a4d13.tar.gz
Updating REDUCTION tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ifc85983119c6b49776f243aa9e7499af1f81413e
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0')
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/desc.json22
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/input-0.json71
-rw-r--r--operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json52
3 files changed, 145 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/desc.json
new file mode 100644
index 000000000..2b74f86d0
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/desc.json
@@ -0,0 +1,22 @@
+{
+ "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": "Op output list does not match expected output",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/input-0.json
new file mode 100644
index 000000000..013058c84
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/input-0.json
@@ -0,0 +1,71 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 4,
+ 118,
+ 48,
+ 5
+ ],
+ [
+ -78,
+ 106,
+ -106,
+ -81
+ ],
+ [
+ 18,
+ 91,
+ -117,
+ -79
+ ],
+ [
+ -46,
+ 24,
+ 70,
+ 37
+ ],
+ [
+ 104,
+ 2,
+ -81,
+ 56
+ ],
+ [
+ -31,
+ -13,
+ 79,
+ 52
+ ],
+ [
+ -56,
+ 79,
+ -72,
+ 76
+ ],
+ [
+ -29,
+ 6,
+ 65,
+ 83
+ ],
+ [
+ 101,
+ 6,
+ -54,
+ -63
+ ],
+ [
+ 66,
+ -78,
+ 123,
+ 112
+ ],
+ [
+ 93,
+ 86,
+ 11,
+ 109
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json
new file mode 100644
index 000000000..fea0a4aa1
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_MAX",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 4
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 4
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}