diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:09 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:09 +0100 |
commit | fa017a13f19b8f94f8f873f627f5eb2613d2e191 (patch) | |
tree | 3d2a60c58f6ea9c80cc16818b163eb69c502e078 /operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1 | |
parent | ae5fcadbf03f8b5779065b22039f952f813dfc0e (diff) | |
download | conformance_tests-fa017a13f19b8f94f8f873f627f5eb2613d2e191.tar.gz |
Updating REDUCE_SUM tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I86ab2dcba84953549f3ea932d92aa85812c15dbc
Diffstat (limited to 'operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1')
4 files changed, 706 insertions, 0 deletions
diff --git a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/Conformance-result-0.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/Conformance-result-0.json new file mode 100644 index 000000000..59cf79a93 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/Conformance-result-0.json @@ -0,0 +1,77 @@ +{ + "type": "int32", + "data": [ + [ + -322696561 + ], + [ + 95272354 + ], + [ + -188811162 + ], + [ + 299675959 + ], + [ + 106781794 + ], + [ + -7565040 + ], + [ + 4989985 + ], + [ + 344777348 + ], + [ + 30225479 + ], + [ + 168172338 + ], + [ + 294943749 + ], + [ + 10860603 + ], + [ + -35744274 + ], + [ + -24273538 + ], + [ + -13602873 + ], + [ + -10830553 + ], + [ + 3876242 + ], + [ + -27030925 + ], + [ + -342046021 + ], + [ + 84701071 + ], + [ + -79470928 + ], + [ + -183182256 + ], + [ + 142465609 + ], + [ + 40049810 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/desc.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/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_sum/reduce_sum_24x21_i32_axis1/input-0.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/input-0.json new file mode 100644 index 000000000..7168b8cc4 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/input-0.json @@ -0,0 +1,557 @@ +{ + "type": "int32", + "data": [ + [ + -77567314, + -4398581, + 16899562, + -25436750, + -63319765, + -55064822, + 58100919, + -32440622, + -33941933, + 75763557, + -63731600, + 74314909, + 75335600, + 17637934, + -59855430, + -61586097, + -38525842, + 13854069, + -61988298, + -7935323, + -68810734 + ], + [ + 7209124, + -85693901, + 37408480, + -79565091, + -54613760, + -58225177, + 59233699, + -79925417, + -12659477, + 16310821, + 2862515, + 32340124, + 54242092, + -19035572, + 58736875, + -32571762, + 86690820, + 810001, + 42236232, + 67109748, + 52371980 + ], + [ + 62837451, + 6534359, + -81698320, + -1237750, + -56998080, + 69635124, + -47111341, + -48663800, + -44848841, + 25513225, + 12747579, + 80323202, + -14985423, + -38962841, + -80664117, + -88212202, + -22617631, + 76202990, + 4250755, + 70428089, + -71283590 + ], + [ + -72778041, + 59674732, + -70376256, + -80179547, + -17163282, + 76028413, + 33891475, + -71741498, + 60331949, + 61485132, + 53811741, + 72057586, + -46550642, + 85822515, + -32087646, + 54049636, + 14202840, + 50014453, + 22874176, + 25498375, + 20809848 + ], + [ + 49928342, + 42778404, + -65399430, + 58349793, + 6454626, + -31660455, + 2545281, + 83569947, + 63990027, + 59717674, + -6657313, + 50848447, + -20564036, + 33315610, + 24975820, + -44775266, + -41793018, + -78538283, + -64465954, + -11879405, + -3959017 + ], + [ + -59928980, + -14873227, + 18643293, + -47858474, + -28948634, + -23709686, + 904428, + -23910003, + 42402890, + -30870872, + -11829637, + -21570744, + -56744429, + 33240066, + -47343753, + -36350371, + 52390003, + 80326254, + 30573574, + 74508380, + 63384882 + ], + [ + -3416212, + 48370311, + -30715959, + -7069328, + 6341302, + 82408435, + 62377328, + -1923257, + 27306568, + -53265380, + 54473039, + 9491512, + 5855879, + 47653292, + 23786536, + -76509997, + -37911030, + -57853395, + 42035768, + -83188654, + -53256773 + ], + [ + 17438468, + 34860482, + 591434, + 64553191, + 74972248, + -65837762, + 80980014, + 20469051, + 24377367, + -72460439, + 21809822, + 40393384, + 14458135, + -74357835, + 4156714, + 78014469, + 39981941, + -64888379, + 82309200, + 82119818, + -59163975 + ], + [ + 53845320, + -16693624, + 16765047, + -9809292, + 50577553, + 88880743, + 52812857, + 77196923, + 79819651, + -73353490, + -44133768, + 39702779, + 16119709, + -80504479, + -72468769, + 3677098, + 20788661, + -59463940, + -58824713, + -66332151, + 11623364 + ], + [ + -88073022, + 12961945, + -4307734, + -6087194, + 32082736, + 4050113, + 40757227, + 47230930, + 75182999, + 53551927, + 3168646, + -1404237, + -47296791, + 17822940, + -64579228, + 77172730, + 61748075, + -68051325, + 51173798, + -68521986, + 39589789 + ], + [ + -73782347, + -2112871, + 28250735, + 40947294, + -14565612, + 75452458, + 49091729, + -52208056, + 30643054, + 41255770, + -29771683, + 42633155, + 71290470, + 56749811, + 46981957, + 24069253, + -41064372, + 52832204, + -24303786, + 5761845, + -33207259 + ], + [ + -33461899, + -61272782, + 82552434, + -63031621, + -74041869, + 78048049, + 9844989, + -11112506, + 42500732, + -20880732, + -66586020, + 41103858, + -57982148, + 9483478, + 80363515, + 78050290, + -24913855, + 50161906, + 20164119, + -3691961, + -64437374 + ], + [ + -22126335, + 27186799, + 87086106, + -88603283, + 38969712, + 61979396, + 80744429, + -13635861, + -68275918, + -40987019, + 62730445, + 67634088, + 24530326, + -67513219, + -67659751, + -3906253, + 15794384, + -83684105, + 33303241, + 7965378, + -87276834 + ], + [ + -72356323, + -8175120, + 39833215, + 58232510, + -12294059, + -36621929, + 83807401, + -7418110, + -33037297, + -10323290, + -87314600, + -35446474, + 2783578, + 74883093, + 42632215, + 50339528, + 8035472, + -69687919, + -19519469, + 88947816, + -81573776 + ], + [ + 67860487, + 33016785, + -38671092, + 49748011, + 60289991, + -81744127, + -70433969, + 29662048, + 89318270, + -85189507, + 29650438, + -65046463, + 26865917, + 22068055, + -73293487, + 32342553, + 71051894, + 65040776, + -84288822, + -45470005, + -46380626 + ], + [ + -8358664, + -63883724, + 63412801, + 49529552, + 55181337, + -54008458, + -86870620, + 73486572, + -37776312, + 27965433, + 73271521, + -83006916, + -88498988, + -88506779, + -61502904, + -80233941, + 57262803, + 18956048, + 85907711, + 53952271, + 82890704 + ], + [ + -46787796, + -37974742, + 62529147, + -45655003, + -79236431, + 30267014, + 53859579, + 83786976, + 76556973, + -67962387, + 48695694, + 61942001, + 35455095, + 57230385, + 60483915, + -9565216, + -82293131, + -7839325, + -53368170, + -69125814, + -67122522 + ], + [ + 35321449, + 810852, + 7129412, + 43878124, + 8637854, + 23266525, + -74083806, + 62837357, + -9166039, + -61702039, + 56072315, + 41987079, + -79989125, + -54932365, + -86660013, + -41024320, + -71586301, + 37563908, + 4036040, + 85935993, + 44636175 + ], + [ + 19961505, + 1666689, + -79725274, + -76915485, + 20814300, + -88694801, + -81899559, + -50262617, + 68745552, + -7349740, + 37505494, + -15826551, + -58496051, + -23057439, + -73064372, + 48363682, + -56633935, + -22123229, + 85904209, + 16457463, + -7415862 + ], + [ + 7697434, + 50838265, + -43937197, + 24411223, + 66695744, + 12958837, + -9567032, + -63506415, + -45045346, + 79819184, + 7383756, + -35551121, + -14608557, + 13961724, + 6719324, + 35751297, + -43398383, + 26706313, + -10258317, + 78847440, + -61217102 + ], + [ + -62914294, + -6861486, + 1494780, + 34158447, + -17173715, + 74037342, + -4622686, + -66332834, + -68143678, + 84719276, + -65481320, + 80146091, + -39714928, + -72762252, + -34949473, + 20526013, + -12902223, + 51106602, + 19861995, + -17755403, + 24092818 + ], + [ + 84371522, + -15782055, + -62018667, + -16323899, + 60865938, + -50532344, + 80377215, + 15803018, + 18177256, + -32741805, + 75243728, + -83025327, + -36029172, + -14602881, + -4066722, + -4629139, + -63006375, + -49107069, + -72434245, + 12966852, + -26688085 + ], + [ + 11770339, + 16055008, + 36149698, + 8417338, + 26476412, + 15596118, + 27278957, + 20874243, + -32889759, + -45404168, + 51437999, + -28149580, + 8794729, + -54228780, + -12273192, + 5308523, + 22550811, + 4720287, + -24936342, + 82637192, + 2279776 + ], + [ + 55172506, + 42360132, + 10436268, + 69149489, + -66524048, + 75351120, + 62675388, + 650137, + 41767116, + 3628373, + -41381209, + 53663900, + -45469055, + -33205343, + 3452366, + 60376925, + -20772235, + -1048394, + -82022186, + -68745117, + -79466323 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json new file mode 100644 index 000000000..67bc9903c --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 24, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |