aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0
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_14x14_f16_axis0
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_14x14_f16_axis0')
-rw-r--r--operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/Conformance-result-0.json21
-rw-r--r--operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/desc.json23
-rw-r--r--operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/input-0.json229
-rw-r--r--operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json52
4 files changed, 325 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/Conformance-result-0.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..05d67294e
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/Conformance-result-0.json
@@ -0,0 +1,21 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ -1.8203125,
+ -1.9443359375,
+ -1.9130859375,
+ -1.662109375,
+ -0.7841796875,
+ -1.876953125,
+ -1.6689453125,
+ -1.9287109375,
+ -1.6396484375,
+ -1.900390625,
+ -1.064453125,
+ -1.7666015625,
+ -1.6220703125,
+ -1.7333984375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/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_14x14_f16_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/input-0.json
new file mode 100644
index 000000000..00720b733
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/input-0.json
@@ -0,0 +1,229 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ 1.0595703125,
+ 0.5390625,
+ 0.21435546875,
+ 0.23681640625,
+ -0.7841796875,
+ -1.876953125,
+ -0.253173828125,
+ -1.1416015625,
+ -0.365966796875,
+ 1.4140625,
+ -1.064453125,
+ -1.7666015625,
+ -0.87451171875,
+ -0.82568359375
+ ],
+ [
+ 0.6474609375,
+ 0.2281494140625,
+ 1.1357421875,
+ 0.6572265625,
+ -0.37451171875,
+ 1.255859375,
+ -1.33203125,
+ -1.9091796875,
+ -1.6396484375,
+ 0.8896484375,
+ -0.1524658203125,
+ -1.3544921875,
+ 0.004180908203125,
+ -1.390625
+ ],
+ [
+ 0.78515625,
+ -0.21533203125,
+ -0.475830078125,
+ -0.7939453125,
+ 0.52099609375,
+ -0.552734375,
+ -1.6494140625,
+ -1.5283203125,
+ 1.84765625,
+ 1.634765625,
+ 0.798828125,
+ -0.9365234375,
+ 1.876953125,
+ 1.115234375
+ ],
+ [
+ 0.86767578125,
+ -0.2025146484375,
+ -0.9111328125,
+ -1.6142578125,
+ 1.6103515625,
+ -0.1768798828125,
+ -1.1904296875,
+ -0.7763671875,
+ 0.31689453125,
+ -1.29296875,
+ 1.4267578125,
+ 1.0341796875,
+ 0.8779296875,
+ -0.271728515625
+ ],
+ [
+ 0.50927734375,
+ 0.33642578125,
+ 0.599609375,
+ -1.662109375,
+ -0.336669921875,
+ -1.833984375,
+ -0.0240325927734375,
+ -0.6806640625,
+ -1.421875,
+ -1.5859375,
+ 0.3505859375,
+ -1.3173828125,
+ 1.7001953125,
+ 0.32421875
+ ],
+ [
+ -0.6123046875,
+ 0.36376953125,
+ -1.9091796875,
+ 1.833984375,
+ -0.07080078125,
+ 1.130859375,
+ -1.6689453125,
+ -0.053375244140625,
+ -0.03717041015625,
+ 1.7509765625,
+ 0.286865234375,
+ -0.10601806640625,
+ -0.93212890625,
+ -0.673828125
+ ],
+ [
+ 0.08270263671875,
+ -0.244384765625,
+ -1.9130859375,
+ 1.3046875,
+ 1.5849609375,
+ -1.439453125,
+ 0.2161865234375,
+ -1.5654296875,
+ 0.68896484375,
+ -0.875,
+ 0.6376953125,
+ 0.908203125,
+ 1.07421875,
+ -1.5693359375
+ ],
+ [
+ 1.6640625,
+ -1.0791015625,
+ -1.8505859375,
+ 0.2193603515625,
+ -0.51611328125,
+ 1.3193359375,
+ 1.2333984375,
+ -0.7314453125,
+ 1.8115234375,
+ -0.83642578125,
+ 0.06024169921875,
+ -0.97607421875,
+ 1.744140625,
+ -1.341796875
+ ],
+ [
+ -1.8203125,
+ -0.259521484375,
+ 1.9697265625,
+ 1.56640625,
+ 0.99462890625,
+ 1.5634765625,
+ 1.57421875,
+ 0.075439453125,
+ -0.736328125,
+ 1.087890625,
+ 0.646484375,
+ -0.50537109375,
+ -1.6220703125,
+ 0.9873046875
+ ],
+ [
+ -0.9501953125,
+ 1.7470703125,
+ -1.0361328125,
+ -1.5087890625,
+ 1.32421875,
+ -1.38671875,
+ -1.283203125,
+ 0.3974609375,
+ 1.498046875,
+ -1.2138671875,
+ -0.7587890625,
+ 1.109375,
+ 1.8876953125,
+ 0.002964019775390625
+ ],
+ [
+ -1.4248046875,
+ -1.9443359375,
+ -1.0810546875,
+ -1.47265625,
+ 0.71044921875,
+ -1.5126953125,
+ 0.0253143310546875,
+ 0.77685546875,
+ 0.324462890625,
+ -1.201171875,
+ 1.216796875,
+ 0.86181640625,
+ 0.9560546875,
+ -1.4755859375
+ ],
+ [
+ -1.5048828125,
+ 1.7099609375,
+ -0.40966796875,
+ -0.79638671875,
+ -0.045654296875,
+ 0.6513671875,
+ 1.822265625,
+ -0.85400390625,
+ 1.69921875,
+ -1.900390625,
+ 0.2208251953125,
+ 0.5361328125,
+ -1.576171875,
+ -1.4384765625
+ ],
+ [
+ -0.323486328125,
+ 1.865234375,
+ 0.38427734375,
+ 1.732421875,
+ 1.2177734375,
+ -0.1304931640625,
+ 1.138671875,
+ -1.9287109375,
+ -1.5634765625,
+ 1.3173828125,
+ 1.1875,
+ -1.0693359375,
+ 0.12310791015625,
+ 0.424072265625
+ ],
+ [
+ 1.470703125,
+ 0.412353515625,
+ -0.349609375,
+ -0.50341796875,
+ -0.29638671875,
+ 0.60791015625,
+ 1.4697265625,
+ -0.1844482421875,
+ -1.0087890625,
+ -1.0537109375,
+ 0.98388671875,
+ 1.2666015625,
+ -1.5791015625,
+ -1.7333984375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json
new file mode 100644
index 000000000..d59ba1ad8
--- /dev/null
+++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/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: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 14,
+ 14
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 14
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}