diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-02-07 15:13:08 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-02-07 15:22:24 +0000 |
commit | 81e1634bb20b64da3647bd4c7e60e7f10f422272 (patch) | |
tree | b5de0533bbfc0588987d3237adce848e14b39762 /operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0 | |
parent | 1a93a54b3e0498fd5d57182098b953dca2e3b992 (diff) | |
download | conformance_tests-81e1634bb20b64da3647bd4c7e60e7f10f422272.tar.gz |
Regen various ERRORIF tests for tosa_mi after adjustment
NEGATE, TILE, REDUCE_MIN, REDUCE_MAX, RESIZE, SCATTER, GATHER
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I02a2a6591f82cf6975abc610c059912c97405c51
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0')
3 files changed, 384 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/desc.json @@ -0,0 +1,21 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Op output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/input-0.json new file mode 100644 index 000000000..49845731b --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/input-0.json @@ -0,0 +1,301 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.9409606456756592, + 0.22527356445789337, + 0.18948368728160858, + 0.0032313817646354437, + 0.6896513104438782, + 0.5384829640388489, + 0.2831321358680725, + 0.3308399021625519 + ], + [ + 0.30300188064575195, + 0.3834668695926666, + 0.3065486550331116, + 0.4363003969192505, + 0.8459920287132263, + 0.5308743715286255, + 0.7766422629356384, + 0.5724402070045471 + ], + [ + 0.2766996920108795, + 0.9692418575286865, + 0.18393820524215698, + 0.9497804641723633, + 0.936107337474823, + 0.1843676120042801, + 0.1620519757270813, + 0.29259076714515686 + ], + [ + 0.6072891354560852, + 0.4296807646751404, + 0.8512685894966125, + 0.98052579164505, + 0.44331514835357666, + 0.014364464208483696, + 0.9770572781562805, + 0.4209265410900116 + ] + ], + [ + [ + 0.5022255182266235, + 0.6267730593681335, + 0.7630226016044617, + 0.48095476627349854, + 0.03877318277955055, + 0.6222859621047974, + 0.44917044043540955, + 0.5416609048843384 + ], + [ + 0.2744700014591217, + 0.00457133399322629, + 0.13134250044822693, + 0.5811312794685364, + 0.6456478238105774, + 0.12436368316411972, + 0.43709900975227356, + 0.6288695335388184 + ], + [ + 0.42611005902290344, + 0.6986697316169739, + 0.9341490268707275, + 0.32627955079078674, + 0.7930569052696228, + 0.23730385303497314, + 0.5778639316558838, + 0.8744449019432068 + ], + [ + 0.8779436945915222, + 0.41684862971305847, + 0.8255485892295837, + 0.4716256558895111, + 0.647153913974762, + 0.5318356156349182, + 0.5602805018424988, + 0.06767679005861282 + ] + ], + [ + [ + 0.8483182191848755, + 0.3081677556037903, + 0.10761254280805588, + 0.3612712621688843, + 0.08079925179481506, + 0.027062326669692993, + 0.3742748498916626, + 0.49754056334495544 + ], + [ + 0.9009853005409241, + 0.3875163793563843, + 0.8079252243041992, + 0.6233811974525452, + 0.46463122963905334, + 0.04749052971601486, + 0.8521906137466431, + 0.617487370967865 + ], + [ + 0.2171107530593872, + 0.27713316679000854, + 0.7444167137145996, + 0.8175384998321533, + 0.7263634204864502, + 0.20802505314350128, + 0.07340726256370544, + 0.4373416304588318 + ], + [ + 0.5394365191459656, + 0.5403183102607727, + 0.5511431097984314, + 0.7094219923019409, + 0.567876398563385, + 0.23688383400440216, + 0.03958834335207939, + 0.4800032079219818 + ] + ], + [ + [ + 0.18940840661525726, + 0.40902259945869446, + 0.22865310311317444, + 0.4831019341945648, + 0.23368175327777863, + 0.30085381865501404, + 0.1902732104063034, + 0.5952038168907166 + ], + [ + 0.6840887069702148, + 0.5386767983436584, + 0.9976083040237427, + 0.4260268211364746, + 0.18397976458072662, + 0.8249514102935791, + 0.4539792537689209, + 0.38001933693885803 + ], + [ + 0.538266122341156, + 0.13523809611797333, + 0.91253662109375, + 0.8224502801895142, + 0.9282518029212952, + 0.4751296043395996, + 0.33160191774368286, + 0.14031259715557098 + ], + [ + 0.6649289131164551, + 0.23529401421546936, + 0.30361926555633545, + 0.01461541373282671, + 0.9618954658508301, + 0.8432844877243042, + 0.715812087059021, + 0.7567782998085022 + ] + ], + [ + [ + 0.8315354585647583, + 0.2210300713777542, + 0.46757856011390686, + 0.43809375166893005, + 0.043360598385334015, + 0.6134215593338013, + 0.12991374731063843, + 0.5713081955909729 + ], + [ + 0.7487101554870605, + 0.10112744569778442, + 0.1737535446882248, + 0.8707836270332336, + 0.726201593875885, + 0.7832030057907104, + 0.1550140231847763, + 0.6852138638496399 + ], + [ + 0.1375112235546112, + 0.4167209565639496, + 0.04135742038488388, + 0.327353835105896, + 0.9677548408508301, + 0.6956984996795654, + 0.037369344383478165, + 0.7673071026802063 + ], + [ + 0.3889666497707367, + 0.2911355197429657, + 0.1918218582868576, + 0.4210348129272461, + 0.2586766481399536, + 0.9193087220191956, + 0.7010878324508667, + 0.9126206040382385 + ] + ], + [ + [ + 0.0350409597158432, + 0.04261268302798271, + 0.6278786063194275, + 0.6156395077705383, + 0.7182381749153137, + 0.5663255453109741, + 0.03520127385854721, + 0.6882557272911072 + ], + [ + 0.8294000029563904, + 0.7017223834991455, + 0.8208228945732117, + 0.4433433711528778, + 0.10416265577077866, + 0.8976535201072693, + 0.7644751667976379, + 0.5372700691223145 + ], + [ + 0.14161266386508942, + 0.1700163334608078, + 0.19324588775634766, + 0.15387554466724396, + 0.8204529285430908, + 0.44598981738090515, + 0.2910436689853668, + 0.3356887102127075 + ], + [ + 0.2682959735393524, + 0.5303484797477722, + 0.4467470943927765, + 0.8990903496742249, + 0.17374706268310547, + 0.856550931930542, + 0.31292614340782166, + 0.9769251346588135 + ] + ], + [ + [ + 0.6905726790428162, + 0.9270547032356262, + 0.9015838503837585, + 0.48782622814178467, + 0.428664892911911, + 0.17439311742782593, + 0.3463965654373169, + 0.30263230204582214 + ], + [ + 0.3489443063735962, + 0.17814496159553528, + 0.21111224591732025, + 0.8091952800750732, + 0.7938075065612793, + 0.861497163772583, + 0.17982947826385498, + 0.9523767828941345 + ], + [ + 0.25003311038017273, + 0.19413183629512787, + 0.1322963982820511, + 0.1364251673221588, + 0.2720834016799927, + 0.9806807637214661, + 0.7204052209854126, + 0.5338314175605774 + ], + [ + 0.34738776087760925, + 0.5904529094696045, + 0.46999838948249817, + 0.8942593336105347, + 0.2698014974594116, + 0.18953552842140198, + 0.27545034885406494, + 0.7485036253929138 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/test.json new file mode 100644 index 000000000..1b127cf39 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_1x7x4x8_f32_axis0/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 7, + 4, + 8 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 4, + 8 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |