diff options
Diffstat (limited to 'operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000')
3 files changed, 633 insertions, 0 deletions
diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/desc.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_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": "Mismatch between output shape provided and expected output shape", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/input-0.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/input-0.json new file mode 100644 index 000000000..57920b158 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/input-0.json @@ -0,0 +1,539 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 2333, + 5489 + ], + [ + -31015, + 31543 + ], + [ + -27785, + 31238 + ], + [ + 31049, + 14283 + ], + [ + 16137, + -30804 + ], + [ + 29376, + 1858 + ], + [ + -10517, + 11129 + ], + [ + 2290, + -9071 + ], + [ + -11669, + -25025 + ] + ], + [ + [ + 26799, + 10866 + ], + [ + -13912, + 14624 + ], + [ + 12701, + -23600 + ], + [ + -21296, + -17639 + ], + [ + -25871, + 21164 + ], + [ + -22569, + 20404 + ], + [ + 1930, + -25113 + ], + [ + 22579, + -21398 + ], + [ + 32720, + -31848 + ] + ], + [ + [ + 8040, + -12212 + ], + [ + 2202, + 22261 + ], + [ + 18801, + -14325 + ], + [ + -28591, + -14181 + ], + [ + 20276, + 1008 + ], + [ + 16933, + -347 + ], + [ + 1936, + -28526 + ], + [ + -31262, + 13328 + ], + [ + -19517, + -9132 + ] + ], + [ + [ + -8539, + 8725 + ], + [ + 28915, + 16891 + ], + [ + 9076, + 21947 + ], + [ + 661, + -23245 + ], + [ + -759, + 31321 + ], + [ + 18348, + -9853 + ], + [ + -11559, + 27394 + ], + [ + -26574, + 28359 + ], + [ + 11602, + 20170 + ] + ], + [ + [ + -11206, + 9732 + ], + [ + -11430, + -31641 + ], + [ + -2968, + 31449 + ], + [ + -16861, + -22147 + ], + [ + 27636, + 26882 + ], + [ + 22739, + 31229 + ], + [ + 32183, + 27418 + ], + [ + 30444, + 16029 + ], + [ + -12160, + -2731 + ] + ], + [ + [ + -7826, + 622 + ], + [ + 12993, + -16926 + ], + [ + -31730, + 6732 + ], + [ + 32367, + 23711 + ], + [ + -32058, + 6470 + ], + [ + 2063, + -4920 + ], + [ + 11055, + -4820 + ], + [ + 27141, + 26722 + ], + [ + 9446, + -2721 + ] + ], + [ + [ + 6354, + 26217 + ], + [ + -13084, + 24159 + ], + [ + 5958, + -28604 + ], + [ + 16364, + -19516 + ], + [ + 1021, + 29517 + ], + [ + 18326, + 13076 + ], + [ + -28206, + 23534 + ], + [ + -10789, + -29482 + ], + [ + 30134, + -20265 + ] + ], + [ + [ + -11571, + -23453 + ], + [ + 7985, + 24108 + ], + [ + 1303, + 24204 + ], + [ + 28614, + 24415 + ], + [ + -22101, + -19267 + ], + [ + -13148, + 9053 + ], + [ + 23748, + -12265 + ], + [ + 10892, + -20495 + ], + [ + 2821, + 18332 + ] + ], + [ + [ + -6888, + -22075 + ], + [ + -5813, + 17178 + ], + [ + 28503, + 7612 + ], + [ + 11211, + -5284 + ], + [ + 28121, + 24243 + ], + [ + 30945, + 23815 + ], + [ + 3080, + 30174 + ], + [ + 7201, + 6657 + ], + [ + 10247, + -20586 + ] + ], + [ + [ + 22227, + -8994 + ], + [ + 10424, + 22560 + ], + [ + -25255, + -13053 + ], + [ + 28995, + -9104 + ], + [ + 10546, + 4038 + ], + [ + 24242, + 676 + ], + [ + -4933, + -31692 + ], + [ + -1657, + 5578 + ], + [ + 12376, + 18361 + ] + ], + [ + [ + 18114, + -2671 + ], + [ + -27627, + -16101 + ], + [ + -6073, + 31390 + ], + [ + 17685, + 25856 + ], + [ + 32259, + -24040 + ], + [ + -32006, + 4848 + ], + [ + -15414, + 24171 + ], + [ + -2304, + -32156 + ], + [ + -18158, + -10385 + ] + ], + [ + [ + -31004, + -11969 + ], + [ + 2591, + 25772 + ], + [ + 9790, + -26657 + ], + [ + -5501, + 17609 + ], + [ + -8528, + 4137 + ], + [ + 31824, + -23737 + ], + [ + -1473, + 7186 + ], + [ + 19534, + 22075 + ], + [ + -13948, + -2170 + ] + ], + [ + [ + 21639, + 22211 + ], + [ + 21213, + 10984 + ], + [ + -15224, + -8634 + ], + [ + 10214, + -16098 + ], + [ + 11928, + 983 + ], + [ + -3761, + -9476 + ], + [ + 17942, + -2262 + ], + [ + -12656, + -7607 + ], + [ + -1031, + 7704 + ] + ], + [ + [ + 32122, + -10456 + ], + [ + -21059, + 31322 + ], + [ + -23083, + 26463 + ], + [ + -23449, + -8923 + ], + [ + 32644, + -21910 + ], + [ + -22288, + 7155 + ], + [ + -20301, + -31170 + ], + [ + 12765, + 30106 + ], + [ + 17006, + 30424 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/test.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_st11_kern22_pad0000/test.json new file mode 100644 index 000000000..26132778d --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_PoolingOutputShapeMismatch_1x14x9x2_i16_acci32_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: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 9, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 13, + 10, + 2 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |