diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-02-13 12:10:09 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-02-22 16:35:47 +0000 |
commit | 36989d315242a1c9296bb434ea0691b1304420b0 (patch) | |
tree | 688d3e5ebaaab02490eaf041c6f3669d1b0304e5 /operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111 | |
parent | 9bcb0878be85d1f84a0beee9c4c8d920ce80d825 (diff) | |
download | conformance_tests-36989d315242a1c9296bb434ea0691b1304420b0.tar.gz |
Create MI tests for Tensor: CONV3D
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I1625af764e1c927aa04cfa8ab8f24ea76b18a053
Diffstat (limited to 'operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111')
3 files changed, 776 insertions, 0 deletions
diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/desc.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/desc.json new file mode 100644 index 000000000..15cad4b15 --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/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": "Input data type not supported for this operator", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/input-0.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/input-0.json new file mode 100644 index 000000000..71b5368a1 --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/input-0.json @@ -0,0 +1,467 @@ +{ + "type": "int64", + "data": [ + [ + [ + [ + [ + 69746606551847, + -11850836868687 + ], + [ + -24086581871904, + 7116577877792 + ], + [ + -51306601564427, + -111393661155834 + ], + [ + -23967029761482, + -105874875624004 + ] + ], + [ + [ + -25208484145222, + 16025417852606 + ], + [ + 121234419698878, + -130541808567946 + ], + [ + 34187502141448, + -11896487353350 + ], + [ + -135034487765937, + -70495921344790 + ] + ], + [ + [ + -107386854708205, + -79715361234564 + ], + [ + -63452835471727, + -27779796949786 + ], + [ + 8173862605976, + -140458829837955 + ], + [ + -95175313842185, + -114400892145191 + ] + ], + [ + [ + 13981818900619, + -48111146873069 + ], + [ + 13622751623220, + -78299779541830 + ], + [ + -133917531477811, + 124233738255897 + ], + [ + -110251462466081, + -105029925227261 + ] + ], + [ + [ + -99488223776366, + 135467298382391 + ], + [ + 33118413361619, + 31043861587260 + ], + [ + 136993364937546, + -115844187833426 + ], + [ + 133560127677526, + -83312892680362 + ] + ] + ], + [ + [ + [ + 34641548598869, + -22494476595196 + ], + [ + -32664660598826, + 121384205840382 + ], + [ + -98733616968023, + 139912488316274 + ], + [ + -34023270614159, + 41876412607160 + ] + ], + [ + [ + 131704036347037, + -124524234041397 + ], + [ + 119025736706134, + 19087208113331 + ], + [ + 57532606749909, + -98745873670320 + ], + [ + 9397726315593, + 48839768811267 + ] + ], + [ + [ + -12315288134081, + -97113038957429 + ], + [ + -72024077380989, + 99752702591319 + ], + [ + -131034766450533, + 58789448664866 + ], + [ + 140565798897460, + -138631212200450 + ] + ], + [ + [ + -95407158534234, + 49017263038188 + ], + [ + -123851569587565, + 25273633614678 + ], + [ + 51791424864606, + 24810991282537 + ], + [ + -37947132577386, + 55530029668263 + ] + ], + [ + [ + 26541521929134, + -82292820175926 + ], + [ + 17771075660233, + 107497325049811 + ], + [ + 46959395204281, + -7939984799360 + ], + [ + -50219610489633, + -116562669554121 + ] + ] + ], + [ + [ + [ + -71881071859186, + -137588697290732 + ], + [ + 136973018802140, + -78114301618857 + ], + [ + 88629698634111, + -93268174176901 + ], + [ + -60910861374984, + -23002889666928 + ] + ], + [ + [ + -49425411596265, + 83978288073187 + ], + [ + 128829241361762, + 105636006045260 + ], + [ + -97509161832936, + 77880938731518 + ], + [ + -99094134378471, + 116356437342192 + ] + ], + [ + [ + 5032371669932, + -46054629428662 + ], + [ + -96538740150207, + -137413525535169 + ], + [ + -70946614652104, + 116536287669851 + ], + [ + 83671868646783, + 132235172947946 + ] + ], + [ + [ + -112375641544360, + 25946009681475 + ], + [ + -68356064666381, + 12087015632204 + ], + [ + -50537456904539, + -60949029202306 + ], + [ + 20785604667564, + -89138013012459 + ] + ], + [ + [ + -8688165109412, + 42449878790950 + ], + [ + -104657442291475, + 121201512366818 + ], + [ + 1611359645525, + 89939128444548 + ], + [ + 43320527499707, + 59110010039831 + ] + ] + ], + [ + [ + [ + 60835451582411, + 105581234789547 + ], + [ + 31977087184036, + -62426322054045 + ], + [ + -112728013947288, + 29906890635221 + ], + [ + -122060834459317, + -72819419660584 + ] + ], + [ + [ + -123649934983336, + 13760632977063 + ], + [ + -95606318371204, + 31076897666222 + ], + [ + 81871255935680, + 90601368382869 + ], + [ + -53608736611355, + 13779475950064 + ] + ], + [ + [ + 17735952227828, + -7631579771717 + ], + [ + 43660678976284, + -81603220069891 + ], + [ + 134894979701432, + -113130471309123 + ], + [ + 92667513052803, + 26485665735651 + ] + ], + [ + [ + -71817004091484, + 69151365089248 + ], + [ + -116958230212129, + 77241753560459 + ], + [ + 25328588335155, + -109564045064004 + ], + [ + -118358661835536, + 70604151112214 + ] + ], + [ + [ + -58283360894446, + 109578729378116 + ], + [ + 73766997490960, + 55785594516198 + ], + [ + -62316856178880, + 58812653625429 + ], + [ + 126142359061747, + -114965686108241 + ] + ] + ], + [ + [ + [ + -48930866293489, + -74683117899889 + ], + [ + -30047415933438, + 68210578381246 + ], + [ + -7250068793416, + 19908895710426 + ], + [ + -52310748549938, + -100968095192521 + ] + ], + [ + [ + -65602345737291, + 101241004415370 + ], + [ + 28827812036907, + -34343135370245 + ], + [ + 81601279457304, + -122594334056254 + ], + [ + -69273500295332, + -75969208425990 + ] + ], + [ + [ + 136617978832478, + 58011593679101 + ], + [ + 33153793701811, + -139334345365163 + ], + [ + -88858834809545, + 38151482282929 + ], + [ + -33855999777316, + 119424311114851 + ] + ], + [ + [ + 74513243417672, + -14810066882070 + ], + [ + 70232222491544, + 133814420977130 + ], + [ + -10982921458423, + 40117470974090 + ], + [ + 117843612773953, + -70741793650166 + ] + ], + [ + [ + 108806379746535, + -113281094288155 + ], + [ + 41784445358897, + 79611863107211 + ], + [ + 32258782894972, + -1256840897172 + ], + [ + 33030272218645, + -98047949458783 + ] + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/test.json new file mode 100644 index 000000000..bb3328af6 --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongInputType_1x5x5x4x2_i48xi48_acci48_st111_pad000000_dilat111/test.json @@ -0,0 +1,288 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV3D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 5, + 4, + 2 + ], + type: "INT48" + }, + { + name: "const-1", + shape: [ + 9, + 1, + 1, + 1, + 2 + ], + type: "INT48", + data: [ + 1, + 216, + 94, + 164, + 47, + 183, + 28, + 129, + 151, + 31, + 24, + 197, + 255, + 58, + 30, + 17, + 8, + 25, + 103, + 205, + 195, + 109, + 32, + 241, + 131, + 35, + 4, + 248, + 149, + 190, + 33, + 42, + 218, + 202, + 255, + 97, + 204, + 81, + 123, + 87, + 185, + 223, + 47, + 18, + 127, + 34, + 47, + 242, + 246, + 233, + 116, + 43, + 226, + 232, + 183, + 166, + 66, + 208, + 147, + 174, + 151, + 36, + 120, + 232, + 75, + 59, + 212, + 16, + 34, + 41, + 206, + 242, + 19, + 81, + 11, + 109, + 41, + 132, + 253, + 135, + 28, + 154, + 201, + 118, + 179, + 17, + 81, + 226, + 213, + 80, + 7, + 138, + 146, + 47, + 59, + 57, + 183, + 24, + 9, + 206, + 124, + 94, + 236, + 2, + 42, + 133, + 36, + 104 + ] + }, + { + name: "const-2", + shape: [ + 9 + ], + type: "INT48", + data: [ + 102, + 168, + 179, + 185, + 101, + 214, + 209, + 1, + 183, + 201, + 103, + 28, + 98, + 22, + 30, + 212, + 218, + 27, + 236, + 197, + 71, + 192, + 109, + 196, + 28, + 61, + 221, + 220, + 209, + 184, + 143, + 57, + 158, + 6, + 41, + 157, + 236, + 63, + 173, + 208, + 200, + 40, + 113, + 77, + 151, + 78, + 234, + 71, + 188, + 209, + 128, + 208, + 205, + 66 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 5, + 4, + 9 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |