diff options
Diffstat (limited to 'frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22')
5 files changed, 1379 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/Conformance-TosaOutput_0.json new file mode 100644 index 000000000..c776fa37c --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/Conformance-TosaOutput_0.json @@ -0,0 +1,347 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -13743, + -4296, + -7471, + -6828, + 9346, + 9406, + 17873, + -12982, + -719, + 5699, + 13075, + 2194, + -4121, + -19566, + -7069, + 10679, + -4699, + -2876, + -1596 + ], + [ + -7791, + -13542, + 7981, + 1686, + 4931, + 11186, + 17921, + -4715, + -15410, + 11654, + 8849, + 1992, + -3325, + -2025, + 1863, + -6836, + -4287, + 14856, + -8648 + ], + [ + 573, + -3353, + -3115, + 13604, + -3015, + 16951, + 7340, + -1280, + -14496, + -592, + -3442, + 2669, + 1359, + 2110, + 10898, + -16049, + -3692, + 6419, + 6037 + ], + [ + 2876, + 411, + -6722, + -3568, + -12344, + 10433, + -6826, + 4217, + 1107, + -13737, + -976, + -6529, + -97, + 5927, + 1943, + -9337, + 9522, + -270, + 3649 + ], + [ + 1632, + 12035, + -3751, + -8825, + -16756, + -10360, + -14857, + 1322, + -9311, + -16034, + -8580, + -9720, + -1809, + 10236, + 7120, + -5061, + 8054, + 9602, + -2824 + ], + [ + 7873, + 18344, + -4158, + -514, + 557, + -12324, + -17034, + -7888, + -13763, + 4109, + -15378, + -4988, + -645, + 2502, + 9106, + -12319, + 761, + 7467, + -943 + ], + [ + 16677, + 17363, + -3408, + 3, + 11923, + -10579, + 219, + 2850, + 6165, + 9810, + -882, + -2458, + 9015, + -11083, + 1771, + -12201, + 11904, + -16474, + 7982 + ], + [ + 14723, + 20914, + -2190, + 1047, + -3178, + -16387, + 14914, + 10779, + 11823, + 7670, + 1345, + -1931, + 15773, + -22990, + -7725, + -6881, + 12417, + -24785, + 17426 + ] + ], + [ + [ + 3412, + 1018, + -8903, + -2059, + 6407, + 27605, + -6870, + -681, + 7556, + 5191, + 9517, + 1327, + 1570, + -10727, + -2333, + 18736, + -2660, + -2172, + 10675 + ], + [ + 9549, + -6873, + -13120, + -12517, + 16118, + 14235, + -9970, + -1526, + -1503, + 2081, + 13684, + -7962, + 15347, + -18904, + -2238, + 14437, + 4135, + -9166, + 7565 + ], + [ + -1357, + -10609, + 2240, + 663, + 14530, + 1407, + -13831, + -1203, + -6531, + -6157, + 11577, + -5156, + 12813, + -14203, + 1235, + -3180, + -8757, + -3703, + 19037 + ], + [ + -22309, + -3193, + 8387, + 1619, + 18387, + -8178, + -12822, + 2700, + 6933, + -5975, + -1518, + -4078, + 2732, + 1969, + -6861, + -3552, + -7960, + 10410, + 6052 + ], + [ + -9658, + -2795, + -2198, + 1138, + 12450, + -7312, + 7119, + 14079, + 3453, + 6024, + -14300, + -8132, + 7377, + -320, + -3966, + 3064, + -1746, + -1173, + -806 + ], + [ + 3520, + -4973, + -5474, + -2795, + -7437, + 4262, + 9448, + 12891, + -15054, + -5408, + -67, + 11794, + 10467, + -8144, + 300, + -3748, + 953, + -12985, + -1213 + ], + [ + -2022, + -2756, + 2918, + -8330, + -12071, + 12886, + 2745, + -829, + -13659, + -25843, + 6058, + 8842, + 3222, + 880, + -3373, + 3361, + 2986, + -13459, + -1369 + ], + [ + -3168, + 2124, + 3828, + -4763, + -9118, + 18861, + 2292, + 1724, + -11719, + -21931, + 1598, + -7059, + -4519, + 3367, + -10753, + 14051, + -2302, + -13398, + 7835 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/desc.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/desc.json new file mode 100644 index 000000000..eb1e090a7 --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/desc.json @@ -0,0 +1,19 @@ +{ + "tosa_file": "test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json", + "ifm_name": [ + "TosaInput_0" + ], + "ifm_file": [ + "placeholder_0.npy" + ], + "ofm_name": [ + "TosaOutput_0" + ], + "ofm_file": [ + "output_0.npy" + ], + "expected_failure": false, + "expected_result_file": [ + "Conformance-TosaOutput_0.npy" + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/model-tflite.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/model-tflite.json new file mode 100644 index 000000000..93a1935e4 --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/model-tflite.json @@ -0,0 +1,249 @@ +{ + version: 3, + operator_codes: [ + { + deprecated_builtin_code: 1, + version: 2, + builtin_code: "AVERAGE_POOL_2D" + } + ], + subgraphs: [ + { + tensors: [ + { + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT16", + buffer: 1, + name: "serving_default_placeholder_0:0", + quantization: { + min: [ + -1.999947 + ], + max: [ + 1.999988 + ], + scale: [ + 0.000061 + ], + zero_point: [ + 0 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 2, + 8, + 19 + ], + type: "INT16", + buffer: 2, + name: "PartitionedCall:0", + quantization: { + min: [ + -1.999947 + ], + max: [ + 1.999988 + ], + scale: [ + 0.000061 + ], + zero_point: [ + 0 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + } + ], + inputs: [ + 0 + ], + outputs: [ + 1 + ], + operators: [ + { + opcode_index: 0, + inputs: [ + 0 + ], + outputs: [ + 1 + ], + builtin_options_type: "Pool2DOptions", + builtin_options: { + padding: "SAME", + stride_w: 1, + stride_h: 2, + filter_width: 2, + filter_height: 2, + fused_activation_function: "NONE" + }, + custom_options_format: "FLEXBUFFERS" + } + ], + name: "main" + } + ], + description: "MLIR Converted.", + buffers: [ + { + }, + { + }, + { + }, + { + data: [ + 49, + 46, + 53, + 46, + 48, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + data: [ + 12, + 0, + 0, + 0, + 8, + 0, + 14, + 0, + 8, + 0, + 4, + 0, + 8, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 40, + 0, + 0, + 0, + 0, + 0, + 6, + 0, + 8, + 0, + 4, + 0, + 6, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 236, + 3, + 0, + 0, + 0, + 0, + 10, + 0, + 16, + 0, + 12, + 0, + 8, + 0, + 4, + 0, + 10, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 50, + 46, + 57, + 46, + 48, + 0, + 0, + 0 + ] + } + ], + metadata: [ + { + name: "min_runtime_version", + buffer: 3 + }, + { + name: "CONVERSION_METADATA", + buffer: 4 + } + ], + signature_defs: [ + { + inputs: [ + { + name: "placeholder_0", + tensor_index: 0 + } + ], + outputs: [ + { + name: "output_0", + tensor_index: 1 + } + ], + method_name: "serving_default", + subgraph_index: 0 + } + ] +} diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/placeholder_0.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/placeholder_0.json new file mode 100644 index 000000000..66ec4eae8 --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/placeholder_0.json @@ -0,0 +1,687 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -27354, + -103, + -22238, + -16229, + 23968, + -961, + 15442, + -6018, + 6551, + -10804, + 28796, + 26673, + -23020, + -32503, + -8456, + 8636, + -27109, + -26967, + 8994 + ], + [ + -28063, + -10987, + 13543, + -11766, + -8628, + 21519, + 23108, + 7062, + -2664, + 22665, + 3567, + 14916, + -17734, + -31372, + -21120, + 26914, + -23480, + 19095, + -27844 + ], + [ + 15281, + -24788, + -24504, + 28849, + 21088, + 10803, + 13874, + 11207, + -31347, + -29621, + -20098, + 670, + 25984, + 21291, + 22186, + -20908, + 29160, + 15132, + 7781 + ], + [ + -26825, + -30362, + -17230, + 19100, + -20531, + 23771, + 9119, + -11074, + -20528, + 10467, + -3660, + 30216, + -14955, + -5388, + 19910, + -3378, + -2076, + 31752, + 18234 + ], + [ + 7744, + 10213, + -22293, + -25541, + -8097, + -3673, + -1401, + 24685, + 28061, + -24441, + 15400, + -30242, + 2727, + 28285, + 6324, + -25485, + 21179, + -18912, + 3165 + ], + [ + -14817, + 18178, + -16747, + -1352, + -31518, + -23489, + -14965, + 10769, + -25457, + 2184, + -23837, + 3737, + -6070, + -802, + 18486, + -30669, + -29960, + 30470, + -12109 + ], + [ + 32281, + 11372, + -15751, + -25211, + 21308, + -24973, + -28199, + -15466, + 21689, + 31457, + 9506, + -14194, + 20567, + -2878, + 11150, + -30598, + 3530, + -19517, + 18887 + ], + [ + 29946, + 13700, + -12281, + 8795, + 17998, + -2867, + 25825, + -3825, + -2067, + 12948, + -24217, + -23843, + 31520, + -14231, + 13935, + 9934, + 21677, + -23178, + 31970 + ] + ], + [ + [ + 6639, + 24420, + -32768, + 15541, + 15804, + 18223, + 20785, + -22356, + 8630, + -17105, + -785, + -13973, + 25518, + -20339, + 23139, + 28572, + 24561, + -24995, + 18318 + ], + [ + -6193, + -30514, + 11580, + -14858, + 6241, + -1158, + 12158, + -30615, + -15393, + 28038, + 20720, + -18840, + -1249, + 5951, + -21837, + -21406, + 7232, + 21362, + -5851 + ], + [ + -12189, + 12120, + 31305, + 4517, + 1022, + 13579, + 22545, + -6514, + -12237, + 25532, + 31208, + 11221, + -20302, + -3971, + 28222, + -11945, + -30060, + 3833, + -8676 + ], + [ + 26026, + 29619, + -2031, + 1950, + -13639, + 19649, + -16180, + 1262, + 6129, + -8744, + -21218, + -31432, + 14708, + -3491, + -26728, + -27963, + -11790, + -25041, + 6807 + ], + [ + 4557, + -7827, + 14667, + -9782, + -7109, + 1983, + -18842, + 1995, + -9236, + -32230, + 5575, + 5344, + -2867, + 4300, + 8264, + 19479, + 30774, + 11123, + -13612 + ], + [ + 9044, + 27574, + 9368, + 1376, + -20301, + -16262, + -24221, + -32162, + -30610, + -9648, + -31457, + -17718, + -1025, + 9161, + -4596, + 16433, + 10222, + 15725, + 11261 + ], + [ + 4982, + 16251, + 6497, + 23130, + 32738, + 15430, + -752, + 5307, + -20675, + -7557, + -15723, + 8225, + -16051, + 4526, + 11383, + -4443, + 19252, + 3190, + -21810 + ], + [ + -501, + 28128, + 7902, + -6701, + -24354, + -29906, + 4002, + 25383, + 25712, + 2392, + 26906, + 19982, + 25, + -31748, + -29385, + -23695, + 3156, + -26391, + 2881 + ] + ], + [ + [ + 28215, + 23279, + -19886, + 9488, + 6323, + 31159, + -11260, + -5112, + 22260, + -31799, + 24695, + -27841, + -14489, + 9723, + 7719, + 18863, + -32051, + -19102, + 29813 + ], + [ + 29699, + 28442, + -26695, + -28191, + 13825, + 31110, + -3607, + 17449, + 24195, + 10537, + 30687, + 28212, + 5795, + -31155, + -21731, + 17241, + 28521, + 16877, + -1117 + ], + [ + 28729, + -6106, + -24045, + 3900, + 4222, + -12194, + 17704, + -15745, + -6493, + -31004, + 3009, + -25842, + 32117, + -10001, + 178, + 5136, + 15632, + -21927, + 3361 + ], + [ + -2263, + 16004, + 15491, + 8351, + 10383, + 16069, + -16881, + -13232, + -12783, + -3514, + 10941, + -1812, + -17357, + 7253, + 13952, + 1466, + -14868, + 30917, + 30901 + ], + [ + -23095, + -11886, + 26985, + 20017, + 24464, + -14261, + -11650, + 18011, + 26906, + -27743, + -16174, + -9029, + 24880, + 23795, + -18109, + 3370, + 7672, + -1236, + -28788 + ], + [ + -6397, + -27565, + -26767, + 27719, + 4728, + -20718, + 2190, + 32767, + -15027, + 20869, + -9739, + -29802, + 6955, + -32076, + -19349, + -27607, + -21928, + -15636, + 23586 + ], + [ + -17121, + 6874, + -2065, + -22033, + -11405, + -12240, + 7403, + -6247, + -21352, + -32677, + 31322, + 26217, + 11808, + -27356, + -10309, + 9471, + 25737, + -27560, + 29 + ], + [ + -14906, + -6639, + 20645, + 18910, + -10898, + 10003, + 29062, + -1017, + 4496, + -19446, + 521, + -31033, + -16921, + 24751, + -1408, + 8457, + 11806, + -28741, + -13848 + ] + ], + [ + [ + -23422, + -27941, + 29289, + 20456, + -11101, + 28189, + 16702, + -9130, + 2946, + 29727, + -24886, + 30470, + 9267, + -13617, + 15236, + 12407, + 7437, + 10833, + 15048 + ], + [ + -20846, + -19708, + -18318, + -9990, + 16580, + 19962, + -29313, + -5929, + -19177, + 12299, + 7570, + -25532, + 5708, + -7860, + -10554, + 26432, + -14545, + -17294, + -1045 + ], + [ + 615, + -30118, + 16578, + -15785, + 29846, + 18060, + -24663, + -1878, + -4535, + 16493, + 13471, + -8686, + 17768, + -26600, + 23155, + 8940, + -13068, + -14319, + 29061 + ], + [ + -32510, + -22215, + 935, + 6184, + 13667, + -16307, + -31484, + 26042, + -2312, + -6602, + 18886, + 15717, + 18723, + -27462, + -32346, + -28263, + -22725, + -9484, + 12823 + ], + [ + -31369, + 5326, + -9863, + -28078, + 25034, + -18212, + 8729, + -20021, + 15921, + 13960, + -19725, + -21187, + -15319, + 4290, + 9061, + 9218, + -1920, + 21444, + 9272 + ], + [ + 22231, + 22945, + 855, + -15106, + -4428, + 23942, + 29206, + 25560, + -13988, + 17010, + -11563, + 27492, + 12991, + 2711, + 12532, + 27273, + 9192, + -9265, + -7294 + ], + [ + 15367, + -22146, + 6080, + -1761, + -18642, + 26062, + -1007, + -516, + -9847, + -26833, + -10286, + 23268, + 10115, + 24144, + 18325, + -24129, + -9191, + 522, + -21173 + ], + [ + 8571, + 10887, + -12990, + -28435, + -7338, + 27719, + -24479, + 4465, + -27934, + -24416, + 2675, + 16915, + 7884, + -18018, + -20098, + 19645, + -16409, + 1945, + 29518 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json new file mode 100644 index 000000000..3696e14bb --- /dev/null +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json @@ -0,0 +1,77 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 1 + ], + kernel: [ + 2, + 2 + ], + stride: [ + 2, + 1 + ], + input_zp: 0, + output_zp: 0 + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT16", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 2, + 8, + 19 + ], + type: "INT16", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |