aboutsummaryrefslogtreecommitdiff
path: root/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2023-01-27 18:44:11 +0000
committerJames Ward <james.ward@arm.com>2023-01-31 11:29:43 +0000
commitee8287e7d32a98f5e6197a361702bfc07e6efd91 (patch)
tree8b798a2dc13444e542eb93a45a23f4eeb878b226 /operators/reduction/reduce_product/reduce_product_15x15_f32_axis1
parent9cc3f4b597d3d4546ea7898ce8774a9b13196b57 (diff)
downloadconformance_tests-ee8287e7d32a98f5e6197a361702bfc07e6efd91.tar.gz
Create MI tests for Reduction: REDUCE_SUM, REDUCE_PRODUCT
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Ie333c2e7c851ced9ad3f4d823f7070bed5e1cdfc
Diffstat (limited to 'operators/reduction/reduce_product/reduce_product_15x15_f32_axis1')
-rw-r--r--operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/Conformance-result-0.json50
-rw-r--r--operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/desc.json23
-rw-r--r--operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/input-0.json260
-rw-r--r--operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/test.json57
4 files changed, 390 insertions, 0 deletions
diff --git a/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/Conformance-result-0.json b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/Conformance-result-0.json
new file mode 100644
index 000000000..7c6d1b78a
--- /dev/null
+++ b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/Conformance-result-0.json
@@ -0,0 +1,50 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ 0.04548537731170654
+ ],
+ [
+ -0.001848574262112379
+ ],
+ [
+ -0.0003843616577796638
+ ],
+ [
+ -3.2408905029296875
+ ],
+ [
+ -2.6240944862365723e-05
+ ],
+ [
+ 0.023536676540970802
+ ],
+ [
+ 0.04060095548629761
+ ],
+ [
+ -0.6931857466697693
+ ],
+ [
+ 20.1081600189209
+ ],
+ [
+ -0.2657791078090668
+ ],
+ [
+ 5.540926933288574
+ ],
+ [
+ -0.0005442452384158969
+ ],
+ [
+ 0.0002506836608517915
+ ],
+ [
+ -1.5599085827489034e-06
+ ],
+ [
+ 0.00042075448436662555
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/desc.json b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/reduction/reduce_product/reduce_product_15x15_f32_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_product/reduce_product_15x15_f32_axis1/input-0.json b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/input-0.json
new file mode 100644
index 000000000..e19c9476b
--- /dev/null
+++ b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/input-0.json
@@ -0,0 +1,260 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -1.7921525239944458,
+ 1.6993675231933594,
+ -1.60354745388031,
+ 1.3742997646331787,
+ 1.6106126308441162,
+ 1.9182827472686768,
+ 1.2081035375595093,
+ 1.1179101467132568,
+ 0.5699331164360046,
+ 1.11598539352417,
+ -1.4617911577224731,
+ 0.14427214860916138,
+ 0.05689148232340813,
+ 1.430288553237915,
+ -0.14880253374576569
+ ],
+ [
+ -0.4596420228481293,
+ 0.5582531094551086,
+ -0.9341467022895813,
+ -1.4409263134002686,
+ -0.08849090337753296,
+ -0.3324425220489502,
+ -1.0697202682495117,
+ -0.5299527645111084,
+ -0.534430205821991,
+ -0.6900177597999573,
+ -0.48214367032051086,
+ 0.7429733872413635,
+ -0.8124940991401672,
+ 1.7954317331314087,
+ 1.6653920412063599
+ ],
+ [
+ -0.07635828852653503,
+ -0.6865552067756653,
+ 0.141739159822464,
+ 1.3942419290542603,
+ 0.6103493571281433,
+ 1.2175673246383667,
+ 0.13088910281658173,
+ 0.5316705107688904,
+ -0.8473775386810303,
+ 0.9395726323127747,
+ -1.190381646156311,
+ 0.7791925072669983,
+ 1.4428762197494507,
+ -1.4715886116027832,
+ 0.45751896500587463
+ ],
+ [
+ -1.619616985321045,
+ 0.9028624892234802,
+ -1.66202712059021,
+ 1.743759274482727,
+ -1.4503682851791382,
+ 1.8355209827423096,
+ 1.2035367488861084,
+ 0.3747280240058899,
+ 1.1304963827133179,
+ 1.1804593801498413,
+ 1.784108281135559,
+ -0.9864665865898132,
+ 0.3603035807609558,
+ -1.6198031902313232,
+ 0.4646627902984619
+ ],
+ [
+ -1.3148348331451416,
+ 0.2598024606704712,
+ 0.2897220551967621,
+ -0.13605938851833344,
+ 0.09052710235118866,
+ 1.055693507194519,
+ 1.1969788074493408,
+ -0.03138713911175728,
+ 0.3983737528324127,
+ 1.7249449491500854,
+ -1.521065592765808,
+ -1.531585693359375,
+ -1.6491639614105225,
+ 0.6314531564712524,
+ -0.3255667984485626
+ ],
+ [
+ 1.0972856283187866,
+ 0.6849256753921509,
+ -0.6654489636421204,
+ 1.5934661626815796,
+ 1.0501285791397095,
+ -0.917860209941864,
+ -0.5432319045066833,
+ -0.7422400712966919,
+ -1.3695534467697144,
+ -1.40886652469635,
+ 1.7445098161697388,
+ -0.24838384985923767,
+ -0.46672070026397705,
+ 0.918742835521698,
+ 0.21197226643562317
+ ],
+ [
+ 1.7445600032806396,
+ 1.1212059259414673,
+ -0.08252174407243729,
+ -0.4945621192455292,
+ 1.9465261697769165,
+ 0.871040940284729,
+ 1.8047786951065063,
+ -1.5260857343673706,
+ 1.4021347761154175,
+ 0.5482955574989319,
+ -1.5123132467269897,
+ 0.3530319929122925,
+ 0.7443854808807373,
+ -1.950789213180542,
+ -0.18272815644741058
+ ],
+ [
+ 1.301598072052002,
+ -0.8185638785362244,
+ -0.16580767929553986,
+ -0.23074349761009216,
+ -0.792290449142456,
+ 1.6737675666809082,
+ 1.125176191329956,
+ -1.55764639377594,
+ 1.9881386756896973,
+ 1.516800045967102,
+ -0.8643662333488464,
+ 1.3475862741470337,
+ -1.5743218660354614,
+ 1.9964189529418945,
+ 0.6627389192581177
+ ],
+ [
+ 0.6005000472068787,
+ -1.6382371187210083,
+ 1.5881335735321045,
+ -1.8840019702911377,
+ -1.0366877317428589,
+ -1.4279124736785889,
+ 1.1070717573165894,
+ -1.2071831226348877,
+ 1.6425528526306152,
+ 0.625076174736023,
+ -1.8553491830825806,
+ -1.9782806634902954,
+ -1.7933683395385742,
+ 0.4237007200717926,
+ 1.2059272527694702
+ ],
+ [
+ -1.0457887649536133,
+ 1.3976353406906128,
+ -1.771072268486023,
+ 1.2038553953170776,
+ 1.7111817598342896,
+ 1.0884336233139038,
+ 0.7924831509590149,
+ 1.3519208431243896,
+ -1.8393948078155518,
+ -1.1928715705871582,
+ -1.5003052949905396,
+ 0.018123960122466087,
+ 0.9807525277137756,
+ 0.5200473666191101,
+ 1.4045244455337524
+ ],
+ [
+ -1.379148006439209,
+ 0.9384843707084656,
+ -1.2278339862823486,
+ -0.9169650077819824,
+ 0.8396188020706177,
+ 1.9208191633224487,
+ 0.44617441296577454,
+ -1.7819987535476685,
+ 0.4652358889579773,
+ -1.8305977582931519,
+ 1.5365828275680542,
+ 0.8383131623268127,
+ -1.3074885606765747,
+ -1.6331160068511963,
+ -1.2658671140670776
+ ],
+ [
+ 1.920108675956726,
+ -0.1657574325799942,
+ 1.1363238096237183,
+ 0.5456333756446838,
+ 0.28965258598327637,
+ -1.4194790124893188,
+ 1.7840977907180786,
+ -0.7946294546127319,
+ 0.3120688498020172,
+ 0.7991037964820862,
+ 0.5969326496124268,
+ 1.7623776197433472,
+ -1.4062440395355225,
+ 0.03341095522046089,
+ -0.3838624358177185
+ ],
+ [
+ -0.10332508385181427,
+ -1.523129940032959,
+ -1.4636216163635254,
+ -0.8876978158950806,
+ -0.7811815738677979,
+ -0.28838714957237244,
+ 0.44395017623901367,
+ 0.5385164618492126,
+ -0.35275641083717346,
+ -0.36486756801605225,
+ -1.129485845565796,
+ 0.3532249927520752,
+ -0.7318363785743713,
+ -1.8557606935501099,
+ -0.3263998329639435
+ ],
+ [
+ -0.10346929728984833,
+ -1.0976284742355347,
+ 0.2898317277431488,
+ 0.26308760046958923,
+ 0.8080087304115295,
+ 0.591793954372406,
+ 0.6097322106361389,
+ -0.7351433634757996,
+ 1.1497288942337036,
+ 0.1965775340795517,
+ -0.27432721853256226,
+ 0.5040498971939087,
+ -0.557370662689209,
+ 0.050956979393959045,
+ 0.9468227624893188
+ ],
+ [
+ 1.5456115007400513,
+ 1.684228777885437,
+ 0.014531700871884823,
+ 0.0811004564166069,
+ 1.1994816064834595,
+ -0.7421972155570984,
+ 1.349529504776001,
+ -0.023433413356542587,
+ -1.536573052406311,
+ -1.7117633819580078,
+ 1.3679728507995605,
+ -1.7777283191680908,
+ -0.8775542378425598,
+ -0.6634798645973206,
+ -1.3080222606658936
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/test.json b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/test.json
new file mode 100644
index 000000000..613619a25
--- /dev/null
+++ b/operators/reduction/reduce_product/reduce_product_15x15_f32_axis1/test.json
@@ -0,0 +1,57 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REDUCE_PRODUCT",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 1
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 15,
+ 15
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 1
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}