aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-12-14 12:22:49 +0000
committerJames Ward <james.ward@arm.com>2022-12-14 12:22:49 +0000
commit9438531ceffbf9f8c6c123b93ec81656f6685fef (patch)
tree14d6795076d0205339a1c06300d31f158cc744da /operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1
parent4abeb4f0514409aec7e23cb5495dcc68417fc7ad (diff)
downloadconformance_tests-9438531ceffbf9f8c6c123b93ec81656f6685fef.tar.gz
Create MI tests for Reduction: REDUCE_MIN, REDUCE_MAX
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I203c8f2fdfe10342a4b6bf6572b643b7c7eda1e2
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1')
-rw-r--r--operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/Conformance-result-0.json86
-rw-r--r--operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/desc.json23
-rw-r--r--operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/input-0.json140
-rw-r--r--operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json52
4 files changed, 301 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/Conformance-result-0.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/Conformance-result-0.json
new file mode 100644
index 000000000..1fbc39a5f
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/Conformance-result-0.json
@@ -0,0 +1,86 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -1.34375
+ ],
+ [
+ 0.2236328125
+ ],
+ [
+ -1.4296875
+ ],
+ [
+ -1.6796875
+ ],
+ [
+ -0.263671875
+ ],
+ [
+ -1.390625
+ ],
+ [
+ -1.8203125
+ ],
+ [
+ -0.0390625
+ ],
+ [
+ -1.65625
+ ],
+ [
+ 0.546875
+ ],
+ [
+ -1.765625
+ ],
+ [
+ -0.64453125
+ ],
+ [
+ -0.0693359375
+ ],
+ [
+ 0.0191650390625
+ ],
+ [
+ -0.63671875
+ ],
+ [
+ -1.578125
+ ],
+ [
+ -1.2890625
+ ],
+ [
+ -1.8984375
+ ],
+ [
+ -0.76953125
+ ],
+ [
+ -1.96875
+ ],
+ [
+ 0.53125
+ ],
+ [
+ -0.08984375
+ ],
+ [
+ 0.87890625
+ ],
+ [
+ -1.5390625
+ ],
+ [
+ -0.2392578125
+ ],
+ [
+ 0.61328125
+ ],
+ [
+ -0.84375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/desc.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/desc.json
@@ -0,0 +1,23 @@
+{
+ "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"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/input-0.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/input-0.json
new file mode 100644
index 000000000..d0ef7623e
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/input-0.json
@@ -0,0 +1,140 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ 0.10009765625,
+ -1.34375,
+ -1.3359375
+ ],
+ [
+ 1.34375,
+ 1.953125,
+ 0.2236328125
+ ],
+ [
+ 1.3515625,
+ 1.9609375,
+ -1.4296875
+ ],
+ [
+ -0.2060546875,
+ -0.4296875,
+ -1.6796875
+ ],
+ [
+ 1.015625,
+ -0.263671875,
+ -0.12255859375
+ ],
+ [
+ -1.390625,
+ -1.2734375,
+ 1.625
+ ],
+ [
+ -1.8203125,
+ -1.0625,
+ -0.828125
+ ],
+ [
+ -0.0390625,
+ 0.345703125,
+ -0.0267333984375
+ ],
+ [
+ -1.65625,
+ -1.0234375,
+ 1.3671875
+ ],
+ [
+ 0.546875,
+ 0.59375,
+ 0.6796875
+ ],
+ [
+ 1.046875,
+ -1.765625,
+ -0.53125
+ ],
+ [
+ 0.1572265625,
+ -0.64453125,
+ 1.375
+ ],
+ [
+ -0.0693359375,
+ 1.0703125,
+ 1.40625
+ ],
+ [
+ 0.0191650390625,
+ 1.6328125,
+ 0.34765625
+ ],
+ [
+ 1.3984375,
+ -0.63671875,
+ -0.004730224609375
+ ],
+ [
+ 0.125,
+ -1.578125,
+ -0.404296875
+ ],
+ [
+ 1.6640625,
+ 0.51953125,
+ -1.2890625
+ ],
+ [
+ -0.64453125,
+ -1.2265625,
+ -1.8984375
+ ],
+ [
+ 1.703125,
+ -0.20703125,
+ -0.76953125
+ ],
+ [
+ 0.392578125,
+ -1.96875,
+ -0.88671875
+ ],
+ [
+ 0.80859375,
+ 0.53125,
+ 1.921875
+ ],
+ [
+ 0.48046875,
+ -0.08984375,
+ 1.0390625
+ ],
+ [
+ 1.609375,
+ 0.87890625,
+ 1.8515625
+ ],
+ [
+ 1.125,
+ 1.4609375,
+ -1.5390625
+ ],
+ [
+ 0.92578125,
+ -0.2392578125,
+ 0.2119140625
+ ],
+ [
+ 0.61328125,
+ 1.875,
+ 1.9375
+ ],
+ [
+ -0.84375,
+ 0.93359375,
+ 0.99609375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json
new file mode 100644
index 000000000..85a66feb8
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_MIN",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 27,
+ 3
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 27,
+ 1
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}