aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_max/reduce_max_21_i32_axis0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_21_i32_axis0')
-rw-r--r--operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json6
-rw-r--r--operators/reduction/reduce_max/reduce_max_21_i32_axis0/desc.json20
-rw-r--r--operators/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json26
-rw-r--r--operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json50
4 files changed, 102 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..1ddaa0ca6
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/Conformance-result-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 2007939011
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_21_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/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json
new file mode 100644
index 000000000..3892ef803
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/input-0.json
@@ -0,0 +1,26 @@
+{
+ "type": "int32",
+ "data": [
+ -1484815326,
+ 1045291563,
+ 786189267,
+ 1814743252,
+ 1051245454,
+ -572765429,
+ 2007939011,
+ -382894814,
+ -748074391,
+ 1741762850,
+ -556371327,
+ -1819592161,
+ -130756795,
+ 1269935824,
+ -1333710358,
+ -159169034,
+ -1589475032,
+ 800917817,
+ -104346548,
+ -729301195,
+ -1172915415
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json
new file mode 100644
index 000000000..a3352e0f1
--- /dev/null
+++ b/operators/reduction/reduce_max/reduce_max_21_i32_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: [
+ 21
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}