aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_max/reduce_max_24_i16_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_24_i16_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_24_i16_axis0')
-rw-r--r--operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json6
-rw-r--r--operators/reduction/reduce_max/reduce_max_24_i16_axis0/desc.json20
-rw-r--r--operators/reduction/reduce_max/reduce_max_24_i16_axis0/input-0.json29
-rw-r--r--operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json50
4 files changed, 105 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..9884d3584
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/Conformance-result-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 30847
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_24_i16_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_24_i16_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/input-0.json
new file mode 100644
index 000000000..2ee149bca
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/input-0.json
@@ -0,0 +1,29 @@
+{
+ "type": "int32",
+ "data": [
+ 3577,
+ 25420,
+ -28586,
+ 23480,
+ 21471,
+ -14631,
+ 8628,
+ -21940,
+ 16914,
+ 13141,
+ -9534,
+ -28317,
+ 30847,
+ -3560,
+ 25763,
+ 11660,
+ 18244,
+ 17032,
+ -20013,
+ -8920,
+ -2181,
+ -145,
+ -29898,
+ 3051
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json
new file mode 100644
index 000000000..d889671b4
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_24_i16_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: [
+ 24
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}