From 874bb4fe493b2958a21e9a84c22828e82d4ff167 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Wed, 16 Nov 2022 14:39:55 +0000 Subject: Updating conformance files for BF16 support Signed-off-by: Jeremy Johnson Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d --- .../desc.json | 24 + .../input-0.json | 577 +++++++++++++++++++++ .../input-1.json | 357 +++++++++++++ .../test.json | 62 +++ 4 files changed, 1020 insertions(+) create mode 100644 operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/desc.json create mode 100644 operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-0.json create mode 100644 operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-1.json create mode 100644 operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json (limited to 'operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48') diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/desc.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/desc.json new file mode 100644 index 000000000..33c84b150 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-0.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-0.json new file mode 100644 index 000000000..1c64575db --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-0.json @@ -0,0 +1,577 @@ +{ + "type": "int64", + "data": [ + [ + [ + 84121287709485, + 93542195738420, + -51729762109018 + ], + [ + 77909907477574, + -13237207388609, + -42656798718427 + ], + [ + 110726181963231, + -13080678747088, + -125191712758766 + ], + [ + 37864408187004, + 44473700878102, + 37900742393079 + ], + [ + -39316751320514, + 50275602684763, + -58801721501974 + ], + [ + -10031155696984, + -79739969396958, + 31877726825677 + ], + [ + 87398195490339, + -113246794822465, + -133134189743608 + ], + [ + 73502800161898, + -49854899710673, + -49588719311023 + ], + [ + 18222558005123, + -3733043666604, + -106521381686400 + ], + [ + 73305972545061, + -91121478457080, + 91768786705853 + ] + ], + [ + [ + 74407246528665, + -93667383573022, + 72680686901888 + ], + [ + 45300450137904, + 135620307849720, + 59624532882800 + ], + [ + -30901039816862, + 33793222296420, + 45562980561742 + ], + [ + 69144421812599, + -8831039130783, + 92237782296688 + ], + [ + -59970559171490, + 130418701780696, + -53359032021261 + ], + [ + -130169184798856, + -84404516703930, + 120313782685616 + ], + [ + 81642205488023, + -17065580730579, + 114041077397039 + ], + [ + -71316456243191, + -74996687109668, + -104438953072493 + ], + [ + -16203867488720, + 3976004698049, + -99883876468703 + ], + [ + -108478909070718, + -30835052966583, + -75261097062211 + ] + ], + [ + [ + 20903457358739, + 6849747119902, + -95002447598829 + ], + [ + -137000342364514, + 40754667059201, + 76810439216520 + ], + [ + -3300939267697, + 21251626098349, + 129960213977356 + ], + [ + 75351945363424, + -46778362835842, + 98601155492141 + ], + [ + 13649351739503, + 6173995777881, + 54007145025266 + ], + [ + -19848213902150, + 107177940751314, + -93651107244994 + ], + [ + -21979454260999, + -122479998371336, + 57813352786882 + ], + [ + -64656146001676, + -20991088564629, + 108751292984390 + ], + [ + -88302770685217, + -140103739469492, + 21988768982432 + ], + [ + -17579452013030, + -125267418968107, + -57351744204003 + ] + ], + [ + [ + -73435126316579, + -67380005742344, + 81532712576531 + ], + [ + -54958044302273, + -2919879754803, + -66000228796663 + ], + [ + 126815785093653, + 77184328143892, + -21594024660306 + ], + [ + 63890140031214, + -52122067564789, + -117591832481857 + ], + [ + -19556261084718, + 18179161274740, + -42402890981587 + ], + [ + -27714479888327, + 60356348197254, + 111308542655486 + ], + [ + 110930989262273, + 21305351528472, + 36448295302183 + ], + [ + 9235550149634, + -36243923059924, + 67035994895504 + ], + [ + -109424724707411, + 110905129574999, + -60877557391297 + ], + [ + -79144528375791, + -63614975224092, + 87740516914633 + ] + ], + [ + [ + -65050412010696, + 30832370384712, + -44147163609832 + ], + [ + 44023731956161, + 25790578596064, + 140108820362233 + ], + [ + -53211158290814, + -42275465993326, + -84789396553807 + ], + [ + -10158946405348, + 94958457770999, + -81346821191224 + ], + [ + 129875320511652, + -137034042487134, + 85891731711386 + ], + [ + 53937851209574, + 114068712155764, + 6139676160738 + ], + [ + 50936940819696, + -126825851645404, + -29736369089269 + ], + [ + 76195151424211, + -110061870727207, + 79487802421027 + ], + [ + -53966263125404, + -41379887413378, + 41482334705656 + ], + [ + -118736286010814, + 35079128891347, + 116452932174297 + ] + ], + [ + [ + -114345190450538, + -69525080614325, + -136886491611949 + ], + [ + 5063734026279, + 65009516891293, + 120020426170780 + ], + [ + -37146363795850, + -98867734516643, + -132550910904300 + ], + [ + -49256371485963, + 3441823235460, + 112807684251663 + ], + [ + -79811798502576, + 79178664280199, + -5370585276262 + ], + [ + 103451910049441, + 102193754543769, + 100682077125859 + ], + [ + -27768850503781, + -43288190311868, + -82390924870288 + ], + [ + -76440433808530, + 32715629794505, + 130024882425855 + ], + [ + 29824766541947, + -24680434520466, + -72501759833780 + ], + [ + 42775609565458, + -81361640010226, + -114454462601285 + ] + ], + [ + [ + -114408321988153, + 98645543375372, + -33142097455233 + ], + [ + 123944719680641, + -917107514502, + 53904170485583 + ], + [ + 92028726265974, + 105409331247901, + -94983878507865 + ], + [ + -79749343235973, + -98490436443840, + -15326146262515 + ], + [ + -97099143997554, + 42464827918573, + -38610785743640 + ], + [ + 130624520300737, + 89111370870440, + 63129239200006 + ], + [ + 53117896794161, + -129589610494052, + -117182087362526 + ], + [ + -19109057991177, + 116727709760964, + -114270908032943 + ], + [ + -22478739941432, + 82729693367361, + -50723817358490 + ], + [ + 120860397888895, + 122357125172587, + -124700737104170 + ] + ], + [ + [ + 32764542196965, + -99762583756025, + -16604004911488 + ], + [ + 111971993841916, + -120086497661424, + 123106060127677 + ], + [ + 139178179402910, + 47919889763721, + -40455931992098 + ], + [ + -70083705477857, + -18969249147875, + -90120795698143 + ], + [ + -135092086209508, + -123078135029856, + 46039624013288 + ], + [ + -134895330155713, + -55883548150459, + 49649198987728 + ], + [ + -91541886924467, + -47209822868910, + -131887464381424 + ], + [ + -109093368593624, + -77145190076548, + -105221849940274 + ], + [ + -7864426988822, + -105004950569706, + -54836382796060 + ], + [ + 62928886171887, + 43305696266967, + -32932830582442 + ] + ], + [ + [ + 121340500895854, + 80845960285235, + 30167519070372 + ], + [ + -17795213355881, + -123838806245385, + -24529775138802 + ], + [ + 12741316787447, + 138209143410405, + 127115874723835 + ], + [ + -109152736496611, + 134901426040524, + 71668491433968 + ], + [ + 51210334726106, + 113592313626820, + -49242505406916 + ], + [ + -28343735411134, + 104412284542315, + -111466539404265 + ], + [ + 58873263125010, + 87207193853359, + 108385585740160 + ], + [ + -79045832022194, + 50453401938176, + -116610025987807 + ], + [ + 101601863875456, + -5123021010645, + 34949335960356 + ], + [ + 98903384488226, + 1695531930574, + 2437157782720 + ] + ], + [ + [ + -9948417158194, + 28342594625909, + 61171055270888 + ], + [ + 85897221893560, + -132348552013834, + -42762447016673 + ], + [ + -18991813628710, + -112957767092131, + 70825105998579 + ], + [ + 6438942143902, + -140207532238073, + 36977914667436 + ], + [ + -45311279647891, + 63853821563870, + -90157803390056 + ], + [ + -140397045230821, + -116298727446747, + -16775887208322 + ], + [ + 69808537162702, + 29249200573866, + -136524764824644 + ], + [ + 25785441964622, + -5017707272135, + 83470003314819 + ], + [ + -68492405406561, + 61623684055324, + 37091858635969 + ], + [ + 34618924125327, + -26583780459068, + -137121010844356 + ] + ], + [ + [ + -87920878644196, + 96897625548403, + 32888721538684 + ], + [ + 21994670524837, + 7231401548194, + -119083190199210 + ], + [ + -42877277898359, + 33537692010229, + -105398279299761 + ], + [ + 118499305937104, + -120288884739991, + 50605271011929 + ], + [ + -55945407660102, + 102365303725832, + 91996440494133 + ], + [ + -46946835859184, + -10664162731730, + 129228370121441 + ], + [ + 30371627468394, + -139047982591790, + 78036443745685 + ], + [ + -39036645189510, + -63095223687414, + 93489353573519 + ], + [ + 131597198403031, + -123274759701547, + -30861979079792 + ], + [ + -62004679300475, + 111957778539305, + 103496931279255 + ] + ] + ] +} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-1.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-1.json new file mode 100644 index 000000000..19e52084d --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/input-1.json @@ -0,0 +1,357 @@ +{ + "type": "int64", + "data": [ + [ + [ + 112904436218993 + ], + [ + -128729871045084 + ], + [ + -126632848791811 + ], + [ + 14467922083859 + ], + [ + -93758893987990 + ], + [ + -109026917971513 + ], + [ + -67453126486282 + ], + [ + 58941030362504 + ], + [ + 48316326656122 + ], + [ + 80274446419720 + ] + ], + [ + [ + -123074151078511 + ], + [ + 74988668973661 + ], + [ + -2640932851431 + ], + [ + -52637167924364 + ], + [ + 31042359441804 + ], + [ + 84310238731320 + ], + [ + -111499282863018 + ], + [ + 86495128817190 + ], + [ + 19545589629159 + ], + [ + 33792204797194 + ] + ], + [ + [ + 106665550943267 + ], + [ + 59106252421601 + ], + [ + 23509962169422 + ], + [ + -46155520696434 + ], + [ + 2902052480268 + ], + [ + 94735072676544 + ], + [ + 139501032093110 + ], + [ + 72100410716893 + ], + [ + 81673501235130 + ], + [ + 56131191260275 + ] + ], + [ + [ + 75139882877863 + ], + [ + -72288501282209 + ], + [ + -21439112129151 + ], + [ + 15761468367066 + ], + [ + 13922914934713 + ], + [ + 27378449538660 + ], + [ + 133288194811584 + ], + [ + 99999765824469 + ], + [ + 92276840028697 + ], + [ + 92990928623785 + ] + ], + [ + [ + 82565956210197 + ], + [ + 50441303730132 + ], + [ + -68527189290422 + ], + [ + 100139392031057 + ], + [ + -62000258828006 + ], + [ + 63300507035719 + ], + [ + -109498350424112 + ], + [ + 13307712595734 + ], + [ + -51003100896057 + ], + [ + 57549598439258 + ] + ], + [ + [ + 100004339769347 + ], + [ + -136366979767828 + ], + [ + -108558729566431 + ], + [ + 119772338112919 + ], + [ + -73388690269094 + ], + [ + 64961444858996 + ], + [ + 87974076662412 + ], + [ + 67708898777607 + ], + [ + -131700079135267 + ], + [ + 66265863777883 + ] + ], + [ + [ + 129920754026359 + ], + [ + -36931439186658 + ], + [ + 59181554310978 + ], + [ + -62918184810474 + ], + [ + 140021235903107 + ], + [ + -82094980450508 + ], + [ + -54728311348613 + ], + [ + -93476266889287 + ], + [ + 128121012729275 + ], + [ + 20104737855616 + ] + ], + [ + [ + -71217402460256 + ], + [ + -102877509217675 + ], + [ + 105498739610952 + ], + [ + -123100382989775 + ], + [ + 40324954054760 + ], + [ + 30998477192456 + ], + [ + 76503479318862 + ], + [ + 51185161295939 + ], + [ + 94709340627430 + ], + [ + -130032595595785 + ] + ], + [ + [ + -19621244238865 + ], + [ + -117947557697102 + ], + [ + -26678953416409 + ], + [ + 17120926332276 + ], + [ + 26395278329718 + ], + [ + 119561644372962 + ], + [ + 118704222524183 + ], + [ + -53540313172401 + ], + [ + 56032864004174 + ], + [ + 59871805535587 + ] + ], + [ + [ + 128676845273685 + ], + [ + -117112107257159 + ], + [ + 32975232515647 + ], + [ + -26102984717565 + ], + [ + -42973282458235 + ], + [ + 33071653054324 + ], + [ + -62054821434523 + ], + [ + -130641945080912 + ], + [ + 78191681607181 + ], + [ + -116306139167548 + ] + ], + [ + [ + -48357891142289 + ], + [ + 26719266321042 + ], + [ + 34828568480944 + ], + [ + 46799458022188 + ], + [ + 139190371472823 + ], + [ + -27757058673629 + ], + [ + -102036246592942 + ], + [ + -101908276206835 + ], + [ + 2884734042783 + ], + [ + -32724433536387 + ] + ] + ] +} \ No newline at end of file diff --git a/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json new file mode 100644 index 000000000..1335bdc23 --- /dev/null +++ b/operators/ew_binary/bitwise_or/bitwise_or_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_OR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1