diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:39:55 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:46:02 +0000 |
commit | 874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch) | |
tree | 4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000 | |
parent | 7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff) | |
download | conformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz |
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000')
3 files changed, 725 insertions, 0 deletions
diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/desc.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/desc.json new file mode 100644 index 000000000..a0c922627 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/desc.json @@ -0,0 +1,22 @@ +{ + "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": "Output DType not INT8 and zero point not 0", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/input-0.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/input-0.json new file mode 100644 index 000000000..d4a62d774 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/input-0.json @@ -0,0 +1,631 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.5055922865867615, + 0.1591693013906479, + 0.6049787998199463, + 0.30996471643447876, + 0.24730625748634338, + 0.4410513937473297, + 0.5807127952575684, + 0.3674640655517578, + 0.9636033773422241, + 0.00589763605967164, + 0.9128609895706177, + 0.0006840495043434203 + ], + [ + 0.21671193838119507, + 0.9963512420654297, + 0.7280953526496887, + 0.644498348236084, + 0.7260928750038147, + 0.4082961976528168, + 0.7842097282409668, + 0.15486803650856018, + 0.7938923835754395, + 0.9395266771316528, + 0.8576868772506714, + 0.7396609783172607 + ], + [ + 0.6513773202896118, + 0.5210921764373779, + 0.3952232897281647, + 0.8656535744667053, + 0.647458553314209, + 0.43490031361579895, + 0.7847917079925537, + 0.054103754460811615, + 0.8131192326545715, + 0.8107021450996399, + 0.2285294085741043, + 0.037671588361263275 + ], + [ + 0.7137079834938049, + 0.19987162947654724, + 0.9960218071937561, + 0.009182445704936981, + 0.22979198396205902, + 0.04206239804625511, + 0.7826557159423828, + 0.5786954760551453, + 0.8484345078468323, + 0.9626133441925049, + 0.6101148724555969, + 0.23175349831581116 + ], + [ + 0.0926494374871254, + 0.8662610650062561, + 0.24511325359344482, + 0.8935182094573975, + 0.8782876133918762, + 0.6278092265129089, + 0.6039958000183105, + 0.9508264660835266, + 0.7560151219367981, + 0.6832817792892456, + 0.43574073910713196, + 0.48399844765663147 + ], + [ + 0.3889211118221283, + 0.9463210105895996, + 0.6381192207336426, + 0.7803635597229004, + 0.03719973564147949, + 0.852426290512085, + 0.41763830184936523, + 0.7371603846549988, + 0.040025316178798676, + 0.8938731551170349, + 0.6598455905914307, + 0.45750078558921814 + ], + [ + 0.3035581111907959, + 0.31102412939071655, + 0.30339813232421875, + 0.13102585077285767, + 0.4638095498085022, + 0.4534863531589508, + 0.4119366705417633, + 0.7030942440032959, + 0.4198148548603058, + 0.08900371938943863, + 0.8520596027374268, + 0.4251008629798889 + ], + [ + 0.655285656452179, + 0.929896354675293, + 0.7674151062965393, + 0.5387988686561584, + 0.5450222492218018, + 0.8495310544967651, + 0.8236322999000549, + 0.17865273356437683, + 0.6265010833740234, + 0.8657156825065613, + 0.8033074140548706, + 0.12471601366996765 + ], + [ + 0.43569281697273254, + 0.5182331204414368, + 0.2578095495700836, + 0.6794993877410889, + 0.47622647881507874, + 0.29750871658325195, + 0.33686453104019165, + 0.8566683530807495, + 0.866199791431427, + 0.8123756647109985, + 0.9138688445091248, + 0.9523065090179443 + ], + [ + 0.49182790517807007, + 0.09670361876487732, + 0.8000710010528564, + 0.6334319114685059, + 0.3805171847343445, + 0.975533127784729, + 0.33868521451950073, + 0.9076339602470398, + 0.5925844311714172, + 0.036641985177993774, + 0.860335111618042, + 0.7622119784355164 + ], + [ + 0.6424875259399414, + 0.614587128162384, + 0.2188354879617691, + 0.21448612213134766, + 0.02917242795228958, + 0.15413746237754822, + 0.3364812731742859, + 0.5407248735427856, + 0.13080856204032898, + 0.5575721859931946, + 0.26332011818885803, + 0.25396111607551575 + ] + ], + [ + [ + 0.9479442238807678, + 0.9923445582389832, + 0.8114386200904846, + 0.05439198017120361, + 0.7286317348480225, + 0.17842572927474976, + 0.5692213177680969, + 0.893713653087616, + 0.38019561767578125, + 0.9288417100906372, + 0.7083722352981567, + 0.3010118007659912 + ], + [ + 0.09491720050573349, + 0.8153513073921204, + 0.4580594003200531, + 0.07269348949193954, + 0.10312235355377197, + 0.9669613838195801, + 0.24300195276737213, + 0.9665911793708801, + 0.6811595559120178, + 0.3004910945892334, + 0.38372787833213806, + 0.7770384550094604 + ], + [ + 0.43541496992111206, + 0.07475078105926514, + 0.22981412708759308, + 0.8603449463844299, + 0.696174144744873, + 0.5010161399841309, + 0.24549566209316254, + 0.47459062933921814, + 0.7888490557670593, + 0.0815431997179985, + 0.9947678446769714, + 0.8597625494003296 + ], + [ + 0.3179657757282257, + 0.8705767393112183, + 0.6817145347595215, + 0.6663544178009033, + 0.13970977067947388, + 0.9058946371078491, + 0.4503417909145355, + 0.8032277822494507, + 0.29952380061149597, + 0.30800366401672363, + 0.9646891951560974, + 0.49665993452072144 + ], + [ + 0.059890713542699814, + 0.8357066512107849, + 0.2272300273180008, + 0.8787537813186646, + 0.9164398908615112, + 0.07276601344347, + 0.5824292302131653, + 0.9815241098403931, + 0.9309195876121521, + 0.5252432823181152, + 0.680493175983429, + 0.6042620539665222 + ], + [ + 0.2032533437013626, + 0.6529975533485413, + 0.33314117789268494, + 0.33797192573547363, + 0.41998815536499023, + 0.8521769046783447, + 0.23834583163261414, + 0.25079166889190674, + 0.00733991339802742, + 0.15500687062740326, + 0.9786792993545532, + 0.43386995792388916 + ], + [ + 0.19516469538211823, + 0.965681791305542, + 0.02711786888539791, + 0.48416638374328613, + 0.8046021461486816, + 0.7728251814842224, + 0.18921726942062378, + 0.7077896595001221, + 0.6222885847091675, + 0.6752762198448181, + 0.2661048173904419, + 0.8107343912124634 + ], + [ + 0.5592374801635742, + 0.7250780463218689, + 0.9395735263824463, + 0.8554973006248474, + 0.782337486743927, + 0.28964874148368835, + 0.05408311262726784, + 0.5746444463729858, + 0.03451305255293846, + 0.7141897678375244, + 0.7368216514587402, + 0.5629112720489502 + ], + [ + 0.16815191507339478, + 0.8757214546203613, + 0.5959212183952332, + 0.5148919224739075, + 0.5675917863845825, + 0.08288708329200745, + 0.7404370307922363, + 0.06077558547258377, + 0.5783881545066833, + 0.16925708949565887, + 0.2077019363641739, + 0.23325425386428833 + ], + [ + 0.014305638149380684, + 0.8918388485908508, + 0.8042352795600891, + 0.03128644824028015, + 0.056986089795827866, + 0.7828768491744995, + 0.006803287658840418, + 0.46899890899658203, + 0.10729725658893585, + 0.5916322469711304, + 0.9983404278755188, + 0.1720215082168579 + ], + [ + 0.956683874130249, + 0.865478515625, + 0.985854983329773, + 0.7661886215209961, + 0.8569942712783813, + 0.5945976376533508, + 0.8672840595245361, + 0.11151225864887238, + 0.7416542768478394, + 0.6287235617637634, + 0.059846483170986176, + 0.2915903627872467 + ] + ], + [ + [ + 0.21610680222511292, + 0.40517544746398926, + 0.1983533352613449, + 0.2748296558856964, + 0.2960301339626312, + 0.5998108983039856, + 0.13487376272678375, + 0.2411012351512909, + 0.3171480596065521, + 0.44906795024871826, + 0.038088634610176086, + 0.9992114305496216 + ], + [ + 0.3003920018672943, + 0.28734487295150757, + 0.55487060546875, + 0.8540321588516235, + 0.4568093717098236, + 0.24883919954299927, + 0.5658755302429199, + 0.4829425513744354, + 0.4230748414993286, + 0.9838829636573792, + 0.9959502816200256, + 0.5619438290596008 + ], + [ + 0.06800393015146255, + 0.5669175982475281, + 0.9524721503257751, + 0.9256925582885742, + 0.2155008465051651, + 0.19011947512626648, + 0.1522558480501175, + 0.8197843432426453, + 0.49005505442619324, + 0.3380465805530548, + 0.32480716705322266, + 0.27541324496269226 + ], + [ + 0.8826197981834412, + 0.4096798896789551, + 0.24401773512363434, + 0.7104048132896423, + 0.635454535484314, + 0.7153655290603638, + 0.8219560980796814, + 0.10123371332883835, + 0.001988741336390376, + 0.05056624114513397, + 0.7067932486534119, + 0.9344965219497681 + ], + [ + 0.33110538125038147, + 0.7811941504478455, + 0.7291845083236694, + 0.9780615568161011, + 0.47079306840896606, + 0.16607296466827393, + 0.7652313709259033, + 0.8188188672065735, + 0.707300066947937, + 0.8631816506385803, + 0.3711825907230377, + 0.6903150081634521 + ], + [ + 0.2638486325740814, + 0.4464401602745056, + 0.2424921691417694, + 0.15453366935253143, + 0.03595324978232384, + 0.6714242696762085, + 0.8752731084823608, + 0.3144194483757019, + 0.4292353689670563, + 0.0035469483118504286, + 0.41285476088523865, + 0.2813221216201782 + ], + [ + 0.5742000341415405, + 0.9085171818733215, + 0.5061525702476501, + 0.6755326390266418, + 0.7054828405380249, + 0.1524319052696228, + 0.34657061100006104, + 0.11314555257558823, + 0.44074660539627075, + 0.8872857093811035, + 0.48093435168266296, + 0.4561529755592346 + ], + [ + 0.20932354032993317, + 0.3102172911167145, + 0.9365995526313782, + 0.30299532413482666, + 0.7313866019248962, + 0.042141664773225784, + 0.12831395864486694, + 0.311477929353714, + 0.9014208316802979, + 0.21929165720939636, + 0.7267445921897888, + 0.16752447187900543 + ], + [ + 0.6128420233726501, + 0.5868282318115234, + 0.6219478845596313, + 0.28627651929855347, + 0.16210299730300903, + 0.886485755443573, + 0.569443941116333, + 0.2120431661605835, + 0.4133290648460388, + 0.06709149479866028, + 0.4753761291503906, + 0.42389076948165894 + ], + [ + 0.13272623717784882, + 0.4443723261356354, + 0.6395323276519775, + 0.9284904599189758, + 0.7031852006912231, + 0.5024352669715881, + 0.770051121711731, + 0.2799352705478668, + 0.668781578540802, + 0.005062166601419449, + 0.07255113124847412, + 0.6242656111717224 + ], + [ + 0.19254957139492035, + 0.6887295842170715, + 0.636753261089325, + 0.06366674602031708, + 0.39249667525291443, + 0.6130021810531616, + 0.713481605052948, + 0.8160841464996338, + 0.3304429054260254, + 0.8367160558700562, + 0.35425442457199097, + 0.006986841093748808 + ] + ], + [ + [ + 0.6100059151649475, + 0.24166859686374664, + 0.12438130378723145, + 0.25835782289505005, + 0.8279139995574951, + 0.9140012860298157, + 0.9616966247558594, + 0.30283036828041077, + 0.4559287130832672, + 0.8025261163711548, + 0.31790268421173096, + 0.3851431906223297 + ], + [ + 0.23727448284626007, + 0.5723673105239868, + 0.6592667102813721, + 0.31843945384025574, + 0.024230515584349632, + 0.735907793045044, + 0.6165972948074341, + 0.21899878978729248, + 0.3146476745605469, + 0.9571135640144348, + 0.6302035450935364, + 0.5954777598381042 + ], + [ + 0.6396907567977905, + 0.9544445276260376, + 0.3398590683937073, + 0.2809159755706787, + 0.37674248218536377, + 0.8009490966796875, + 0.12095887213945389, + 0.20682470500469208, + 0.22824551165103912, + 0.6363773941993713, + 0.6415830254554749, + 0.37188637256622314 + ], + [ + 0.2761922776699066, + 0.7546519041061401, + 0.03172656521201134, + 0.7387377023696899, + 0.21027399599552155, + 0.9027770757675171, + 0.41369324922561646, + 0.6422969102859497, + 0.12096931040287018, + 0.2538844048976898, + 0.7006086111068726, + 0.5503554344177246 + ], + [ + 0.7704773545265198, + 0.5634023547172546, + 0.569331169128418, + 0.8582589626312256, + 0.424689918756485, + 0.89504474401474, + 0.37221524119377136, + 0.3285942077636719, + 0.7794212698936462, + 0.01154639944434166, + 0.17219212651252747, + 0.07176574319601059 + ], + [ + 0.5121051073074341, + 0.6280710101127625, + 0.010375945828855038, + 0.16146354377269745, + 0.3025413453578949, + 0.29422634840011597, + 0.09713272005319595, + 0.1728474497795105, + 0.847051739692688, + 0.7005811333656311, + 0.2960943877696991, + 0.26340746879577637 + ], + [ + 0.08019920438528061, + 0.3489059507846832, + 0.39806950092315674, + 0.9041816592216492, + 0.7431157231330872, + 0.4791537821292877, + 0.13485726714134216, + 0.6561616659164429, + 0.936012327671051, + 0.07804485410451889, + 0.8486077785491943, + 0.18011455237865448 + ], + [ + 0.701280951499939, + 0.1838560402393341, + 0.6000135540962219, + 0.23762458562850952, + 0.5416980385780334, + 0.6001578569412231, + 0.6185203194618225, + 0.6827988624572754, + 0.06902957707643509, + 0.7033873796463013, + 0.15459772944450378, + 0.677032470703125 + ], + [ + 0.12403761595487595, + 0.479414701461792, + 0.3867684304714203, + 0.9673463702201843, + 0.6308091878890991, + 0.08820591121912003, + 0.7008864879608154, + 0.19413839280605316, + 0.28615036606788635, + 0.37844303250312805, + 0.7762254476547241, + 0.9440809488296509 + ], + [ + 0.9243351817131042, + 0.17068363726139069, + 0.06041347607970238, + 0.8285329937934875, + 0.28821825981140137, + 0.5828260779380798, + 0.9786274433135986, + 0.18642200529575348, + 0.3748559057712555, + 0.8675989508628845, + 0.6499805450439453, + 0.9375529885292053 + ], + [ + 0.6317192912101746, + 0.3035699725151062, + 0.8051086068153381, + 0.7592637538909912, + 0.93361896276474, + 0.4761669337749481, + 0.5028392672538757, + 0.32382309436798096, + 0.2687583267688751, + 0.9965277910232544, + 0.9772555232048035, + 0.5296464562416077 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/test.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/test.json new file mode 100644 index 000000000..0e73068c9 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_OutputZeroPointNotZero_1x4x11x12_f32_accf32_st11_kern22_pad0000/test.json @@ -0,0 +1,72 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + kernel: [ + 2, + 2 + ], + stride: [ + 1, + 1 + ], + input_zp: 0, + output_zp: 56, + accum_dtype: "FP32" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 11, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 3, + 10, + 12 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |