aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_max/reduce_max_3_i8_axis0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:05 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:07:05 +0100
commitd2f0a9657439fe7ad7c60208a9eacafdcb1af5be (patch)
tree67fdf1745bbe2b877f670434b8f06dde47864be5 /operators/reduction/reduce_max/reduce_max_3_i8_axis0
parent7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 (diff)
downloadconformance_tests-d2f0a9657439fe7ad7c60208a9eacafdcb1af5be.tar.gz
Updating REDUCE_MAX tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ifad1bf01c9285e09596729029bd9cba05a6042a1
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_3_i8_axis0')
-rw-r--r--operators/reduction/reduce_max/reduce_max_3_i8_axis0/Conformance-result-0.json6
-rw-r--r--operators/reduction/reduce_max/reduce_max_3_i8_axis0/desc.json20
-rw-r--r--operators/reduction/reduce_max/reduce_max_3_i8_axis0/input-0.json8
-rw-r--r--operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json50
4 files changed, 84 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_3_i8_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..74813007d
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/Conformance-result-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -13
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_3_i8_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_3_i8_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/reduction/reduce_max/reduce_max_3_i8_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/input-0.json
new file mode 100644
index 000000000..b69ca0787
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/input-0.json
@@ -0,0 +1,8 @@
+{
+ "type": "int32",
+ "data": [
+ -13,
+ -70,
+ -105
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json
new file mode 100644
index 000000000..52b992b83
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json
@@ -0,0 +1,50 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_MAX",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 3
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}