diff options
Diffstat (limited to 'operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1')
4 files changed, 428 insertions, 0 deletions
diff --git a/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/Conformance-result-0.json b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/Conformance-result-0.json new file mode 100644 index 000000000..981946641 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/Conformance-result-0.json @@ -0,0 +1,83 @@ +{ + "type": "float32", + "data": [ + [ + -5.0097150802612305 + ], + [ + -2.479992389678955 + ], + [ + 3.3965835571289062 + ], + [ + 1.2223930358886719 + ], + [ + 3.3315322399139404 + ], + [ + 6.984194755554199 + ], + [ + -1.1288588047027588 + ], + [ + -1.5427509546279907 + ], + [ + -1.5889219045639038 + ], + [ + 0.9007961750030518 + ], + [ + 0.581916868686676 + ], + [ + 6.5859174728393555 + ], + [ + -0.39633023738861084 + ], + [ + 2.5513992309570312 + ], + [ + -7.1212382316589355 + ], + [ + 1.1345492601394653 + ], + [ + 0.38854506611824036 + ], + [ + -4.132791996002197 + ], + [ + -0.7875152826309204 + ], + [ + 1.8988521099090576 + ], + [ + 0.27491846680641174 + ], + [ + -0.13262438774108887 + ], + [ + -2.994596481323242 + ], + [ + -0.5409210920333862 + ], + [ + -5.680433750152588 + ], + [ + -4.143751621246338 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/desc.json b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_26x8_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_sum/reduce_sum_26x8_f32_axis1/input-0.json b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/input-0.json new file mode 100644 index 000000000..278c87700 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/input-0.json @@ -0,0 +1,265 @@ +{ + "type": "float32", + "data": [ + [ + -1.4967719316482544, + -1.6331052780151367, + 0.6699596643447876, + 0.6220709681510925, + 0.6516388654708862, + -1.9209342002868652, + -0.6938126087188721, + -1.2087606191635132 + ], + [ + 1.1126056909561157, + 1.442521572113037, + -1.0132784843444824, + 0.6713966131210327, + -1.4825488328933716, + -0.899389922618866, + -1.445381999015808, + -0.865916907787323 + ], + [ + 0.6989461779594421, + 1.6413075923919678, + -1.1899104118347168, + 0.16831614077091217, + 0.8055644035339355, + 1.811689853668213, + 0.4402419328689575, + -0.9795722961425781 + ], + [ + 0.5019126534461975, + -0.7180353403091431, + 1.9045135974884033, + -0.4012954533100128, + 0.741710901260376, + -1.9070897102355957, + -0.39975422620773315, + 1.5004304647445679 + ], + [ + 0.4409097731113434, + -0.22422845661640167, + 1.743749976158142, + 1.4159375429153442, + -0.7111372947692871, + 0.1781936138868332, + -0.040702976286411285, + 0.5288100242614746 + ], + [ + -0.6635549068450928, + -1.0231800079345703, + 1.650687336921692, + 1.695497989654541, + 1.3732914924621582, + 1.9128177165985107, + 0.9799661040306091, + 1.0586689710617065 + ], + [ + 1.0503603219985962, + -0.07756947726011276, + -0.17419122159481049, + -1.0390949249267578, + 0.5792768001556396, + -0.8427194356918335, + -0.9687663316726685, + 0.3438454866409302 + ], + [ + -0.36007043719291687, + -1.1245735883712769, + 1.2642240524291992, + 1.4422796964645386, + -1.3292019367218018, + -1.9699718952178955, + -0.655480146408081, + 1.190043330192566 + ], + [ + 1.3566954135894775, + -1.4466837644577026, + 1.0973435640335083, + -1.5371832847595215, + -0.4397496283054352, + 1.9944380521774292, + -1.2296366691589355, + -1.3841456174850464 + ], + [ + -0.3087986707687378, + 0.47867411375045776, + 1.7316031455993652, + 1.9232845306396484, + -1.7214374542236328, + -1.448009967803955, + 1.162951946258545, + -0.9174714088439941 + ], + [ + 1.5393962860107422, + 0.6538130044937134, + -1.552620768547058, + 1.330117106437683, + -1.294574499130249, + -0.3060184121131897, + 0.20873971283435822, + 0.003064596327021718 + ], + [ + 0.7446516752243042, + 0.6107469201087952, + 1.968168020248413, + 1.997687578201294, + 0.06583761423826218, + -1.6192036867141724, + 0.9113731980323792, + 1.906656265258789 + ], + [ + -0.7266944646835327, + -0.1551644504070282, + -0.30089229345321655, + -1.7943233251571655, + 0.6890577077865601, + -0.5866492390632629, + 1.1498554944992065, + 1.3284802436828613 + ], + [ + 1.2849231958389282, + -0.3333359956741333, + -0.713817298412323, + 0.9952831268310547, + 1.2055577039718628, + -0.03497021272778511, + 1.5721241235733032, + -1.4243651628494263 + ], + [ + 1.51627516746521, + -1.6156190633773804, + -1.3858978748321533, + 0.13536004722118378, + -1.7299261093139648, + -1.788771629333496, + -1.997925043106079, + -0.2547333538532257 + ], + [ + 1.0984954833984375, + -1.8606466054916382, + 0.6090304255485535, + 1.2925093173980713, + -1.3279966115951538, + -1.412545084953308, + 1.4432039260864258, + 1.2924984693527222 + ], + [ + 0.1557670682668686, + 1.2767995595932007, + -1.628975749015808, + -0.42207393050193787, + 0.9511902332305908, + -0.9701921343803406, + 1.0093156099319458, + 0.016714418306946754 + ], + [ + 1.0010639429092407, + -0.14128145575523376, + -0.5283826589584351, + -1.1232430934906006, + -1.16648268699646, + 1.0059632062911987, + -1.5243586301803589, + -1.656070590019226 + ], + [ + -1.2948344945907593, + -1.2986139059066772, + 1.2924305200576782, + -0.40597349405288696, + 1.9615538120269775, + -1.4511549472808838, + 0.6141592860221863, + -0.205081969499588 + ], + [ + -0.4283272922039032, + 1.500336766242981, + 1.9023826122283936, + 1.4914358854293823, + -1.230797290802002, + -1.116808295249939, + 0.6242955327033997, + -0.8436656594276428 + ], + [ + 0.9389005303382874, + 0.2656826078891754, + 0.2036350667476654, + 1.3141876459121704, + 0.8421310782432556, + -1.8936889171600342, + -1.8021634817123413, + 0.4062338173389435 + ], + [ + -0.05523169785737991, + -0.9592613577842712, + -0.32537564635276794, + 1.0316412448883057, + 1.3064459562301636, + 0.24489226937294006, + -0.45852208137512207, + -0.917212963104248 + ], + [ + 0.08767388015985489, + -0.741001546382904, + 0.256380558013916, + 0.7066095471382141, + -1.7356832027435303, + -1.9957301616668701, + -1.1508914232254028, + 1.5780459642410278 + ], + [ + 0.5851630568504333, + -1.3121585845947266, + 1.5610558986663818, + -0.12017624080181122, + -0.09563297033309937, + 1.7421678304672241, + -1.7620532512664795, + -1.1392868757247925 + ], + [ + 0.34308528900146484, + -1.218053936958313, + 0.718108057975769, + -1.143630862236023, + -1.6033720970153809, + -1.172059416770935, + -0.3090638518333435, + -1.295446753501892 + ], + [ + -1.4612319469451904, + 1.4411275386810303, + -0.7184112071990967, + -0.5569652318954468, + -1.7789183855056763, + -0.5705215334892273, + -0.9407712817192078, + 0.4419402778148651 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_26x8_f32_axis1/test.json new file mode 100644 index 000000000..b8f579457 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_26x8_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_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 26, + 8 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 26, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |